+ 1
If a=5 and b=9; Find this; a+= a++ - ++b +a Wth reference to java programming.
6 Respuestas
+ 5
The answer is 7.
The above expression can be converted into the following:
a = a + (a + 1) - (b + 1) + a; // After this computation, b = 10
^---------(after a++ here, a becomes 6)
So, a = 5 + 6 - 10 + 6;
Therefore, a = 7;
+ 1
21
0
Nothing else
- 1
Tell only ans
- 2
How is it 21