#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
Explain the properties of union.
What is a structural principle?
How to write c functions that modify head pointer of a linked list?
What are the advantages of using macro in c language?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
When should you use a type cast?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Differentiate fundamental data types and derived data types in C.
What is the difference between malloc() and calloc()?
Can you apply link and association interchangeably?
What is pragma in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is a global variable in c?
Explain how can you determine the size of an allocated portion of memory?