Possible Duplicate:
confused about printf() that contains prefix and postfix operators.
I came across a code with the following snippet,
int main() {
int c = 100;
printf("\n %d \t %d \n", c, c++);
return 0;
}
I expected the output to be 100 & 101 but I get output as
101 100
Could anyone help me know why?