Question from the C++ test

What is the output of the following code?