N Nguyên Lê New member Sep 21, 2021 #1 What will be the output of the following C code? Code: #define hello(c,d) #c #d main() { printf(hello(i,"am")); } A. iam B. i“am” C. am D. “am”
What will be the output of the following C code? Code: #define hello(c,d) #c #d main() { printf(hello(i,"am")); } A. iam B. i“am” C. am D. “am”
N Nguyễn Thị Thảo Sương New member Sep 21, 2021 #2 Answer: b Explanation: The output for the following code will be i”am”. Since 2 arguments are passed and the macro hello takes two arguments, there is no error. Upvote 0 Downvote
Answer: b Explanation: The output for the following code will be i”am”. Since 2 arguments are passed and the macro hello takes two arguments, there is no error.