The defendant may plead guilty to any offense charged.

[Code 1881 s 1892; 1873 p 383 s 190; 1854 p 260 s 174, part; RRS s 1929.]