I wrote a simple program where int a = 10
the o/p which i was expecting was 10 9 9
printf("a++:%d \t a:%d \t --a: %d \n", a++, a, --a);
but the o/p which is got is 9 10 10
I wrote another printf like printf(" a:%d \t --a: %d \n", a, --a);
the o/p which i got is 9 9
can anyone explain me about this ?