#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
Difference between MAC vs. IP Addressing
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What are the standard predefined macros?
When should a type cast not be used?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Is that possible to add pointers to each other?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Explain what standard functions are available to manipulate strings?
List some of the static data structures in C?
How can I handle floating-point exceptions gracefully?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Write a code to generate a series where the next element is the sum of last k terms.
What is exit() function?
How do you do dynamic memory allocation in C applications?
What is the significance of scope resolution operator?