#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 / manoj
10,6,11
| Is This Answer Correct ? | 0 Yes | 10 No |
Post New Answer View All Answers
Do you have any idea how to compare array with pointer in c?
Why is this loop always executing once?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Why is sizeof () an operator and not a function?
What is c language in simple words?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What are the similarities between c and c++?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
When can you use a pointer with a function?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Ow can I insert or delete a line (or record) in the middle of a file?
swap 2 numbers without using third variable?
How do I use strcmp?
Explain how can you determine the size of an allocated portion of memory?
Describe the steps to insert data into a singly linked list.