Back to Multiple Choice Quiz
Increment Operators
C++ quiz · Question 17What is the output of this code?
Code
1#include <iostream>2using namespace std;34int main() {5 int a = 5;6 int b = a++;7 cout << a << " " << b << endl;8 return 0;9}