why this program prints this?

Posted by evil.coder on Stack Overflow See other posts from Stack Overflow or by evil.coder
Published on 2010-04-07T16:25:18Z Indexed on 2010/04/07 16:33 UTC
Read the original article Hit count: 247

Filed under:
|
int a = 100; 
printf("%d", (++a)+(++a)+(++a));

It prints 307. Why?

© Stack Overflow or respective owner

Related posts about c

    Related posts about homework