Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
C Preprocessor
What will be the output of the program? #include<stdio.h> #define MESS junk int main() { printf("MESS\n"); return 0; }
junk
MESS
Error
Nothing will print
Show Answer
Correct Answer:
MESS
Explanation:
printf("MESS\n");
It prints the text "MESS". There is no macro calling inside the printf statement occured.
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment