Pregunta de entrevista de Infosys

Question are easy.