Question
#include<stdio.h>
#define MESS junk
int main()
{
printf("MESS\n");
return 0;
}
What will be the output of the program?
#include<stdio.h>
#define MESS junk
int main()
{
printf("MESS\n");
return 0;
}
Answer: Option B
Was this answer helpful ?
printf("MESS`setminus`n"); It prints the text "MESS". There is no macro calling inside the printf
statement occured.
Was this answer helpful ?
Submit Solution