#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 ? | 22 Yes | 5 No |
Post New Answer View All Answers
Is that possible to add pointers to each other?
What are the 3 types of structures?
What is the process to generate random numbers in c programming language?
What is function what are the types of function?
Can 'this' pointer by used in the constructor?
What is the benefit of using #define to declare a constant?
Compare and contrast compilers from interpreters.
Is it better to use malloc() or calloc()?
What are the types of variables in c?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Give the rules for variable declaration?
What is methods in c?
What are the scope of static variables?
Is c pass by value or reference?