#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
What is identifiers in c with examples?
What are 3 types of structures?
Is there a way to compare two structure variables?
How do you search data in a data file using random access method?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the use of sizeof?
How can you check to see whether a symbol is defined?
In which language linux is written?
How can you pass an array to a function by value?
Explain how can a program be made to print the name of a source file where an error occurs?
How pointer is different from array?
Do you know null pointer?
How do you determine the length of a string value that was stored in a variable?
What are pointers?
What is hashing in c language?