Upon statement recorded by Magistrate under section 164 needs to be given opportunity of cross examination to?

Upon statement recorded by Magistrate under section 164 needs to be given opportunity of cross examination to?

A. Accused
B. Prosecution
C. None of the above
D. None of above