Pergunta de entrevista da empresa Nokia

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