Hello,
I just cant figure out why i get this output. When i run this program, i get the output as 11 11 11, how ? shouldn't it be 11 10 10 ?? Please explain...
#include<stdio.h>
#define MAX(x,y) (x)>(y)?(x):(y)
int main()
{
int i=10,j=9,k=0;
k=MAX(i++,++j);
printf("%d %d %d",i,j,k);
}
Thanks!! :)