What is the value of y after the execution? y+= ++y + y-- +
What is the value of y after the execution?y+= ++y + y-- + --y; when int y=8
110 Likes
y = 33
y+= ++y + y-- + --y⇒ y = y + (++y + y-- + --y)⇒ y = 8 + (9 + 9 + 7)⇒ y = 8 + 25⇒ y = 33
Answered By
65 Likes