Pregunta de entrevista de KPIT Technologies

Please write the code for a simple program in c++