#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
What are the functions to open and close the file in c language?
How is a macro different from a function?
What is the most efficient way to count the number of bits which are set in an integer?
What is the benefit of using const for declaring constants?
How can I generate floating-point random numbers?
what are the different storage classes in c?
Explain what is wrong with this program statement? Void = 10;
Explain why can’t constant values be used to define an array’s initial size?
What happens if you free a pointer twice?
How can I get the current date or time of day in a c program?
using for loop sum 2 number of any 4 digit number in c language
What is array of pointers to string?
What is the difference between pure virtual function and virtual function?
What are global variables and explain how do you declare them?
Explain what is a stream?