I was looking for some area of C,where we get different behaviors by different compilers.
Looking to following code,We get output 7 in gcc4.4.5, and 10 in tcc4.5.
int i=0;
i=i++ + ++i + i++ + ++i;
printf("%d",i);
Can we identify other area of usage where we get different behaviors, which should be avoided for a good programming practice.
[Note: Above specified code is just an example. The question does not stick only to this.]