Rudder Analytics Interview Question

Cpp program output