Pregunta de entrevista de Infosys

Technical Question related to programming language (very basic)