+ 2

basic concepts operators

what is the value of x after the following code? int x=8; int y=7; x++; x+=y--

4th Apr 2020, 4:55 AM
Kodali tanuja
Kodali tanuja - avatar
2 Respostas
+ 2
x = 9 + 7 = 16 after doing operation on x++ , x will be 9
4th Apr 2020, 5:07 AM
A͢J
A͢J - avatar
+ 3
thank you
15th Jul 2020, 12:28 PM
Kodali tanuja
Kodali tanuja - avatar