#define MAX(x,y) (x)>(y)?(x):(y)
k = (i++) > (++j) ? i++ : ++j;
printf("%d %d %d",i,j,k);
Yes, i get 11 11 11, im begining to understand, i++ is done first, followed by ++j since they are given in braces, 10 is not greater than 10 so k=++j, so k=11, in the next step the incremented value of i and j,k are displayed as 11 11 11, am i right ??