#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 identifiers in c with examples?

851


What are 3 types of structures?

793


Is there a way to compare two structure variables?

817


How do you search data in a data file using random access method?

1058


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

809






What is the use of sizeof?

737


How can you check to see whether a symbol is defined?

792


In which language linux is written?

896


How can you pass an array to a function by value?

801


Explain how can a program be made to print the name of a source file where an error occurs?

918


How pointer is different from array?

798


Do you know null pointer?

765


How do you determine the length of a string value that was stored in a variable?

840


What are pointers?

831


What is hashing in c language?

817