1
visibility

What will be the result stored in x after evaluating the following expression?
int x=4;
x += (x++) + (++x) + x;

  • 16

  • 20

  • 21

  • 17

x = x + (x++) + (++x) + x
x = 4 + 4 + 6 + 6
x = 20