Microsoft interview question

C++ programming question