Infosys interview question

Asked Completely from the domain