[mod-- This gets discussed ad-nauseum. The behaviour is undefined
since the code modifies x (and y) twice between sequence points.
<http://c-faq.com/expr/seqpoints.html> --mod PN]

Hi,

I am not able to understand the output of:

unsigned char x;
x = 300;
printf("%d",x);


int x,y;
x = 5;
y = 10;
printf("%d\t%d\t%d\t%d\t",x++,y++,++x,++y);

Regards,

Manish

Reply via email to