21st Jun 2019, 3:46 PM
alan cares
alan cares - avatar
3 odpowiedzi
+ 3
After a += ++b; a will be 16 (5+11) and b will be 11. 16 + 11 = 27
21st Jun 2019, 3:49 PM
Anna
Anna - avatar
+ 3
During a += ++b; b first gets incremented by 1. b is now 11. Then a gets incremented by b, 11. a is now 16. Then you printed a + b, 11 + 16 = 27.
21st Jun 2019, 4:52 PM
Seb TheS
Seb TheS - avatar
+ 1
Oooohhhhh Its so obvious XD Thanks
21st Jun 2019, 3:51 PM
alan cares
alan cares - avatar