#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
What is structure in c explain with example?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Why c is a mother language?
What is wrong with this statement? Myname = 'robin';
What is nested structure with example?
What is #ifdef ? What is its application?
What is formal argument?
Explain the difference between malloc() and calloc() in c?
Why does not c have an exponentiation operator?
What is the use of a conditional inclusion statement in C?
What is a pointer and how it is initialized?
What are the rules for identifiers in c?
What is d scanf?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Explain the meaning of keyword 'extern' in a function declaration.