0
if a=1,b=0 b=a++ + ++a + ++a what is the final value of a and b?
4 Answers
+ 2
b=8, a=4
+ 1
b = 1++ + ++2 + ++3
b = 1+3+4
b = 8. &
a = 4
0
it would probably crash :D
0
There is a rule that expalin that a variable can not be upadated twice in an expression. if such things happen the result depends upon the implementation of that specific compiler .