+ 1
x=3 then y=++x + x++ what is the answer?
8 Respostas
+ 1
y=8
+ 1
After execution y = 8, x = 5
+ 1
first, ++x return 4 and x add one to itself, then x++ return 4 too.At last x add one to itself. so y=4+4,x=3+1+1
- 1
y =9
- 2
y =9;
- 2
y = 7
- 2
output
y=4
x=5
- 3
its GG feed bot lane And no ganks plus quit midlane