Pergunta de entrevista da empresa Infosys

Technical Question related to programming language (very basic)