#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 ? | 20 Yes | 10 No |
Post New Answer View All Answers
What is #include stdio h?
What's the difference between constant char *p and char * constant p?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
How many levels of pointers can you have?
What is c programming structure?
List some applications of c programming language?
write a c program to find the sum of five entered numbers using an array named number
How can I write functions that take a variable number of arguments?
What is variable initialization and why is it important?
How can I access an I o board directly?
write a program to generate address labels using structures?
What is use of pointer?
What is output redirection?
What is structure in c language?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?