C++ increment operator mystery! Solve it!