#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 the difference between a string and an array?
How can I change the size of the dynamically allocated array?
How do shell structures work?
How can I handle floating-point exceptions gracefully?
Explain how can I pad a string to a known length?
What is hungarian notation? Is it worthwhile?
Is a house a shell structure?
When the macros gets expanded?
What are the similarities between c and c++?
please give me some tips for the placement in the TCS.
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is n in c?
How do I convert a string to all upper or lower case?
write a programming in c to find the sum of all elements in an array through function.
What are register variables? What are the advantage of using register variables?