Pergunta de entrevista da empresa Cognizant

Basic programming questions which were easy