Infosys interview question

The interview questions are very simple.