#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


Please Help Members By Posting Answers For Below Questions

what is the difference between 123 and 0123 in c?

716


Write a program of prime number using recursion.

613


develop algorithms to add polynomials (i) in one variable

1735


What does sizeof return c?

596


Difference between malloc() and calloc() function?

652






What is 02d in c?

633


What is bubble sort in c?

631


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1731


How do you use a pointer to a function?

628


What is difference between structure and union in c?

542


What is the importance of c in your views?

586


Why do we use & in c?

586


what type of questions arrive in interview over c programming?

1551


What is a example of a variable?

551


Explain threaded binary trees?

670