Question

Given the preprocessor directive
#define HAPPY(x) printf ("Happy, " #x " ");
How would you invoke this macro to generate a statement that would print
Happy BIRTHDAY (followed by a newline)
at execution time?
a) Happy(Birthday)
b) Happy(BIRTHDAY)
c) HAPPY(Birthday)
d) HAPPY(BIRTHDAY)

Answer

This answer is hidden. It contains 3 characters.