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

x=11

k=11

j=6

Is This Answer Correct ?    4 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions to open and close the file in c language?

599


How is a macro different from a function?

661


What is the most efficient way to count the number of bits which are set in an integer?

595


What is the benefit of using const for declaring constants?

594


How can I generate floating-point random numbers?

613






what are the different storage classes in c?

668


Explain what is wrong with this program statement? Void = 10;

768


Explain why can’t constant values be used to define an array’s initial size?

868


What happens if you free a pointer twice?

619


How can I get the current date or time of day in a c program?

656


using for loop sum 2 number of any 4 digit number in c language

1742


What is array of pointers to string?

576


What is the difference between pure virtual function and virtual function?

658


What are global variables and explain how do you declare them?

586


Explain what is a stream?

615