#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 is the benefit of using #define to declare a constant?

599


Write a C program in Fibonacci series.

622


What is volatile keyword in c?

574


What is the difference between printf and scanf in c?

739


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

669






What is meant by realloc()?

666


What is the use of getchar() function?

622


What is a void pointer in c?

600


Describe static function with its usage?

602


where are auto variables stored? What are the characteristics of an auto variable?

580


What is your stream meaning?

592


How important is structure in life?

580


How can you convert integers to binary or hexadecimal?

606


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1880


What is pre-emptive data structure and explain it with example?

3202