#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 is the benefit of using #define to declare a constant?
Write a C program in Fibonacci series.
What is volatile keyword in c?
What is the difference between printf and scanf in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is meant by realloc()?
What is the use of getchar() function?
What is a void pointer in c?
Describe static function with its usage?
where are auto variables stored? What are the characteristics of an auto variable?
What is your stream meaning?
How important is structure in life?
How can you convert integers to binary or hexadecimal?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is pre-emptive data structure and explain it with example?