#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 / vignesh1988i
i=12
j=6
k=11
| Is This Answer Correct ? | 20 Yes | 10 No |
Post New Answer View All Answers
Explain how many levels deep can include files be nested?
What does #pragma once mean?
What are the advantage of c language?
What is hash table in c?
Explain bitwise shift operators?
There seem to be a few missing operators ..
Is it cc or c in a letter?
Is javascript based on c?
Differentiate between #include<...> and #include '...'
Write a program to check palindrome number in c programming?
Write a code to remove duplicates in a string.
Write a program to print "hello world" without using a semicolon?
What is the scope of static variable in c?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
State two uses of pointers in C?