Vidyalelo
C++ Programming · Q35

Operators and Expressions in C++

Programming · C++ Programming · question 35

Q35

What will be the output of the following C++ code? #include using namespace std; int main() int i, j; j = 10; i = (j++, j + 100, 999 + j); cout << i; return 0;

A.
1000
B.
11
C.
1010
Answer
D.
1001

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board