

C Preprocessor - Programming
Q1: What will be the output of the program?
#include<stdio.h>
#define MESS junk
int main()
{
printf('MESS\n');
return 0;
}
A junk
B MESS
C Error
D Nothing will print
ANS:A - junk printf('MESS\n'); It prints the text 'MESS'. There is no macro calling inside the printf statement occured. |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.