Kumaran Systems interview question

Basic programming questions