#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 / sumi
11 , 6, 10
| Is This Answer Correct ? | 54 Yes | 32 No |
Post New Answer View All Answers
How can I do peek and poke in c?
Why does everyone say not to use scanf? What should I use instead?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
How can I avoid the abort, retry, fail messages?
What is the size of enum in bytes?
Can the size of an array be declared at runtime?
Explain how does flowchart help in writing a program?
What is use of null pointer in c?
List some of the dynamic data structures in C?
What is the difference between pure virtual function and virtual function?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Write a program to generate random numbers in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
I heard that you have to include stdio.h before calling printf. Why?