#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

Why double pointer is used in c?

559


What is the difference between union and structure in c?

561


What is function definition in c?

572


Explain what happens if you free a pointer twice?

602


What does %d do?

705






What is the difference between void main and main in c?

609


What is the difference between array and linked list in c?

587


In c language can we compile a program without main() function?

564


What is sizeof in c?

560


Difference between goto, long jmp() and setjmp()?

693


can any one provide me the notes of data structure for ignou cs-62 paper

1692


Explain the term printf() and scanf() used in c language?

585


What is a lvalue

648


What are register variables? What are the advantage of using register variables?

669


What is #line in c?

552