Hello there. I need help with this program.
The output of this program is 22,13,13,13. But in the printf statement "a++" should print 11 instead of 13, "a" should print 10 instead of 13 and "++a" should print 11 instead of 13. That is what i can make from this program. Can anybody explain me this code?
Code:
{
int a=10,b;
b=a++ + ++a;
printf("%d,%d,%d,%d",b,a++,a,++a);
}
Comment