#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 / mukul

ans : 11 6 0

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules for the identifier?

683


How can I implement sets or arrays of bits?

613


Does c have function or method?

599


The difference between printf and fprintf is ?

724


What is bubble sort technique in c?

600






write a program to rearrange the array such way that all even elements should come first and next come odd

1770


What does return 1 means in c?

593


What is calloc()?

637


Why is c not oop?

543


What is abstract data structure in c?

537


Here is a good puzzle: how do you write a program which produces its own source code as output?

604


What is the total generic pointer type?

743


Is it better to use a macro or a function?

663


Why is #define used?

800


Can a variable be both const and volatile?

684