Infosys interview question

Function In stored procedure.