#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 array within structure?
What are pointers? What are stacks and queues?
What is sizeof return in c?
Is there a way to jump out of a function or functions?
Write a program for Overriding.
Write a program to show the change in position of a cursor using c
Can we change the value of constant variable in c?
Is main an identifier in c?
What is the use of #define preprocessor in c?
What is the code in while loop that returns the output of given code?
what do the 'c' and 'v' in argc and argv stand for?
What does int main () mean?
What is the purpose of void in c?
Why is sprintf unsafe?
How can you find the exact size of a data type in c?