Possible Duplicates:
twisted c++ code
FAQ : Undefined Behavior and Sequence Points
#include<stdio.h>
int main()
{
int i=7,j;
j=(i++,++i,j*i);
return 0;
}
Is j=(i++,++i,j*i++);
well defined ? Let me clear my doubt.
Possible Duplicates:
twisted c++ code
FAQ : Undefined Behavior and Sequence Points
#include<stdio.h>
int main()
{
int i=7,j;
j=(i++,++i,j*i);
return 0;
}
Is j=(i++,++i,j*i++);
well defined ? Let me clear my doubt.