I have following C program and I'm not understanding the output of this program:
#include <stdio.h>
int main()
{
int a=8;
printf("%d\n", a++);
printf("%d\n", ++a);
printf("%d\n", a*a);
return 0;
}
The value of first printf is 8 and the value of second printf is 10!! But how??