Medical witness can record his statement under section _________________?

Medical witness can record his statement under section _________________?

A. 509, Cr.P.C
B. 520, Cr.P.C
C. 540, Cr.P.C
D. None of above