A

Admin • 830.13K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category Java
  • Hashtags:

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.

Be the first to start discuss.