As per apnaqanoon,Section 161 of the CrPC deals with the examination of witnesses by the police, and this provision allows the police or according to law/qanoon gives them authority to interrogate the witnesses whenever they need to record the statements of the witnesses.