now dis is really getting on my nerves... i'm a c/cpp programmer .. but recently stumbled upon dis basic piece of code n quite stuck wid it !
a=a++ + ++a;
a=++a + ++a;
a=a++ + a++;
a=++a + a++;
i still am confused on the result i got... it says a is 63. after goin thru the code again i found out dat a=++a + ++a; behaves differently than a=a++ +a++; tho i'm aware of the logic behind the postfix n prefix opereator and its precedence .. i still cant figure out the logic behind the ouput ?
"[b]The[blue] GEEK[/blue] Shall Inherit The Earth" ;-) [/b]