Section 342 of Criminal Procedure Code 1898