Q. What is the output of the following C++ code?
Code:
#include <iostream>
using namespace std;
int main()
{
int i, j;
i = 1;
j = (i++, i + 10, 9 + i);
cout << j;
return 0;
}
β
Correct Answer: (A)
11