What is the output of code? oid main () { int x = 33, y, z; z = x++ + 17; y =…
PYQ DSSSB 2021
What is the output of code? oid main () { int x = 33, y, z; z = x++ + 17; y = ++z - ++x; cout << "x=" << x << " y=" << y << " z=" << z; }
- A.
x = 34 y = 17 z = 51
- B.
x = 35 y = 16 z = 51
- C.
x = 34 y = 16 z = 50
- D.
x = 35 y = 17 z = 51
Attempted by 659 students.
Sign up free to check your answer
Sign up freeLoading lesson…

