MCQ Practice Single Best Answer Topic: Operator in Java

Q What will be the value of "x" after execution ?
int x = 0, y = 0 , z = 0 ;
x = (++x + y-- ) * z++;

Question ID
#2124
Subchapter
Operator in Java
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A -2
  • B -1
  • D 1
Correct Answer: C

Explanation

0

Share This Question

Share this MCQ with your friends or study group.