+ 1
How does this work?
how does 22 get printed? shouldn't it be 6+7+8 = 21 ? int a =5; int j = ++a + ++a + ++a; printf("%d",j);
4 Answers
+ 2
Shane Umayanga
In Java/PHP it is giving 21
+ 2
undefined behavior..u cant expect same result from different compiler
+ 1
đ
°đ
š (16 * 7 Available) yes, I figured it is something with c
see here https://stackoverflow.com/questions/340282/i-i-i-in-c