#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 / manoj
10,6,11
| Is This Answer Correct ? | 0 Yes | 10 No |
Post New Answer View All Answers
How are 16- and 32-bit numbers stored?
What is difference between structure and union in c programming?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Explain how can you tell whether two strings are the same?
Can a pointer point to null?
How can I convert a number to a string?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Can you please explain the difference between exit() and _exit() function?
Give differences between - new and malloc() , delete and free() ?
how is the examination pattern?
What is #define in c?
How will you delete a node in DLL?
program for reversing a selected line word by word when multiple lines are given without using strrev