Nokia Interview Question

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