#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 / amitesh
i=11 j=6 k=10
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What is difference between Structure and Unions?
If you know then define #pragma?
How can type-insensitive macros be created?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What is substring in c?
What is a program flowchart?
What is the right type to use for boolean values in c? Is there a standard type?
write a programming in c to find the sum of all elements in an array through function.
What are the 5 types of inheritance in c ++?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What are pragmas and what are they good for?
Does c have function or method?
What is a const pointer in c?
What does the format %10.2 mean when included in a printf statement?
What is a structural principle?