Infosys interview question

Search using recursive function & pointers