#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 / amitesh
i=11 j=6 k=10
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What are different storage class specifiers in c?
What does *p++ do?
What does & mean in scanf?
Write a program to check prime number in c programming?
What is a spanning Tree?
What does the error message "DGROUP exceeds 64K" mean?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
How to declare a variable?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Explain how can I right-justify a string?
When we use void main and int main?
Why c is a procedural language?
In C, What is the #line used for?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
I came across some code that puts a (void) cast before each call to printf. Why?