Both the demurrer and the plea must be put in open court, either at the time of the arraignment or at such other time as may be allowed to the defendant for that purpose.
R.L.1910, § 5790.