int main()
{
int a=0;
a=a++;
printf ("%d",a);
}
In this question, why does the value of a
comes out to be 0 and not 1?
I mean, I understand that due to post-increment, the value assigned to a
is 0. But then a++
runs, so why doesn't the value of a
becomes 1?