#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 / sunil v r
11,6,11
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
write a c program in such a way that if we enter the today date the output should be next day's date.
what are the advantages of a macro over a function?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
to find the closest pair
What is function in c with example?
How many types of sorting are there in c?
In a header file whether functions are declared or defined?
How variables are declared in c?
What is wrong with this initialization?
Can include files be nested?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
code for quick sort?
what is use of malloc and calloc?
How can I read data from data files with particular formats?
Write a program on swapping (100, 50)