#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 / guest
x=11
k=11
j=6
| Is This Answer Correct ? | 4 Yes | 20 No |
Post New Answer View All Answers
What does the file stdio.h contain?
How can you call a function, given its name as a string?
write an algorithm to display a square matrix.
What is variable and explain rules to declare variable in c?
What are the different types of errors?
what is different between auto and local static? why should we use local static?
What math functions are available for integers? For floating point?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
Write a program to print ASCII code for a given digit.
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Write a program to identify if a given binary tree is balanced or not.
How are variables declared in c?
Explain the red-black trees?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
How do you define a function?