+ 2
basic concepts operators
what is the value of x after the following code? int x=8; int y=7; x++; x+=y--
2 Answers
+ 2
x = 9 + 7 = 16
after doing operation on x++ , x will be 9
+ 3
thank you
what is the value of x after the following code? int x=8; int y=7; x++; x+=y--