#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


Please Help Members By Posting Answers For Below Questions

What is #include stdio h?

679


What's the difference between constant char *p and char * constant p?

651


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

662


How many levels of pointers can you have?

697


What is c programming structure?

616






List some applications of c programming language?

550


write a c program to find the sum of five entered numbers using an array named number

1617


How can I write functions that take a variable number of arguments?

624


What is variable initialization and why is it important?

613


How can I access an I o board directly?

623


write a program to generate address labels using structures?

4005


What is use of pointer?

583


What is output redirection?

687


What is structure in c language?

615


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

637