Infosys interview question

Programming language related theoretical questions.