Infosys interview question

Basic questions nothing hard really