Infosys interview question

cursor types