|
C Programming Reference >> C Programming Reference Question Bank >> 19/07/07 - 484 Views - No Ratings Yet Level - Beginner Question - What will be the output of the following code and why?
Answer - ASS Explanation - It is a kind of a deceptive question based on misguiding user based on loose concentration. Only thing here to observe is that ASS though defined as macro will be treated as a string if used in printf statement in double quotes. So code prints ASS instead of Donkey. This a very easy question to tackle if you observe carefully. Reader Comments -
|
|||