Infosys interview question

Basic Programming questions mostly theory