Section 287(2) in The Code of Criminal Procedure, 1973
(2)Any such party may appear before such Magistrate, Court or officer by pleader, or if not in custody, in person, and may examine, cross-examine, and re-examine (as the case may be) the said witness.