0
If x=10 & y=20 then what will be the values of x and y after execution of the statement x+=(y++ - --y)*y++
Will final value of y be 20 or 21?
2 Respostas
+ 6
y will be 21.
First y will be incremented to 21.
Then, decremented to 20.
Again, incremented to 21.
0
So finally y=21