Consider a part of program:
int i=4,t;
t=i++ + i++ + i++;
printf("%d",t);
Why the value of t comes out to be 15(in codeblocks)?
Since we have post increment so first value of i must be used
Therefore ans must be 12.
Secondly,
int i=4,t;
t=++i + i++ + i++;
printf("%d",t);
Its output must be 5+5+5=15 but it comes out to be 17 Why?