#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 is atoi and atof in c?
what are the facialities provided by you after the selection of the student.
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
What is the right type to use for boolean values in c? Is there a standard type?
What is static volatile in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
In c language can we compile a program without main() function?
What are nested functions in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
What does c mean in standard form?
Explain what is the difference between a free-standing and a hosted environment?
What does c mean?
Do pointers need to be initialized?
Explain how do you determine whether to use a stream function or a low-level function?
Is null equal to 0 in sql?