#define MAX(x,y) (x) > (y) ? (x) : (y)
main()
{
int i = 10, j = 5, k = 0;
k = MAX(i++, ++j);
printf("%d %d %d", i,j,k);
}

what will the values of i , j and k?
}

Answer Posted / vignesh1988i

i=12
j=6
k=11

Is This Answer Correct ?    22 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1857


Which is best linux os?

558


How reliable are floating-point comparisons?

624


Explain #pragma statements.

601


What is sizeof int?

631






Can include files be nested? How many levels deep can include files be nested?

653


How main function is called in c?

625


What is the difference between far and near ?

678


What is #define in c?

615


What does main () mean in c?

611


how to find binary of number?

3423


What functions are used for dynamic memory allocation in c language?

597


What is a #include preprocessor?

612


What is the explanation for the dangling pointer in c?

673


Why #include is used in c language?

594