Pregunta de entrevista de Tata Consultancy Services

Basic question from programing concept