#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
The __________ attribute is used to announce variables based on definitions of columns in a table?
show how link list can be used to repersent the following polynomial i) 5x+2
what are the 10 different models of writing an addition program in C language?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is modeling?
What is a substring in c?
Is calloc better than malloc?
Why do we need functions in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Does c have class?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is a structure member in c?
what is the significance of static storage class specifier?
What is stack in c?
What is difference between Structure and Unions?