Pregunta de entrevista de Cognizant

Basic C++ and programming questions