Infosys interview question

Basic Questions