Rudder Analytics interview question

Cpp program output