Pregunta de entrevista de Nokia

What would be the output of program (c++)