What will be printed out as a result of the following code's execution:

int i = 0;
i++++++++++++++++++++; // 20 pluses
cout << i++ << endl;
Explanation
Postfix operators return the rvalue that can not be modified (as long as the opposite is not explicitly specified).
C++
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback