Home / Programming MCQs / JAVA MCQs / Question

S

Shivam • 8.86K Points
Tutor III

Q. What will be the value of "x" after execution ? 

Code:
int x = 0, y = 0 , z = 0 ;
x = (++x + y-- ) * z++;
(A) -2
(B) -1
(C) 0
(D) 1

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.