#define MAX(a,b) (a>b?a:b)
void main(void)
{
int a = 3, b=4;
printf("%d %d %d\n",a,b,MAX(a++,b++));
}
I expected the answer for this as
4 5 4
but answer i got is
4 6 5
Can anyone explain me why is this so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.