Philips Interview Question

Question about C++.