#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
Explain the difference between call by value and call by reference in c language?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Why clrscr is used after variable declaration?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
how should functions be apportioned among source files?
How many loops are there in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
When can you use a pointer with a function?
Explain setjmp()?
What is the meaning of 2d in c?
What is the size of enum in bytes?
What is the use of pragma in embedded c?
Multiply an Integer Number by 2 Without Using Multiplication Operator
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none