0
Can anyone tell me about the result generation of (a++ * ++a)?
I know ( ++a * a++) working but not know the working of it (a++ * ++a) and its rslt. I try hard to understand this but can't.
2 Antworten
+ 5
If I recall correctly, that will produce undefined result, because you don't know which ++ will compiler execute first... Just avoid it, it's confusing and not cross compiler friendly
+ 4
Just forget about using x, x++ and/or ++x in ANY combination within the same expression and everything will be fine.