Doubt regarding operators in C.

Posted by Zacky112 on Stack Overflow See other posts from Stack Overflow or by Zacky112
Published on 2010-02-03T07:57:56Z Indexed on 2010/04/07 9:33 UTC
Read the original article Hit count: 245

Filed under:
|

Consider the follwoing fragment:

int a,b;
a = 1;
b = 2;

c = a++++b;  <-- does not work!! Compilation error.
c = a++*+b;  <-- works !!

Please help me understand this behaviour.

© Stack Overflow or respective owner

Related posts about c

    Related posts about operators