R
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;
}
using namespace std;
int main()
{
int i, j;
i = 1;
j = (i++, i + 10, 9 + i);
cout << j;
return 0;
}
- Correct Answer - Option(A)
- Views: 140
- Filed under category C++
Discusssion
Login to discuss.