C Language MCQ’S | C Preprocessor 10

46.
A preprocessor directive is a message from compiler to a linker.

A. True
B. False

 

47.
Once preprocessing is over and the program is sent for the compilation the macros are removed from the expanded source code.

A. True
B. False

 

48.
Will the program compile successfully?

#include<stdio.h>
#define X (4+Y)
#define Y (X+3)

int main()
{
printf(“%d\n”, 4*X+2);
return 0;
}
A. Yes
B. No

 

49.
Would the following typedef work?
typedef #include l;

A. Yes
B. No


 

50.
Will the program compile successfully?

#include<stdio.h>

int main()
{
printf(“Hello” “Hi\n”);
return 0;
}
A. Yes
B. No

 

Visitor Counter

0051037