Chapter - 8: The C Preprocessor

State True or False:


A
Sections
3
Exercises

A

B

C

1

2

3

4

5

6

7

8

9

1. A macro must always be written in capital letters.
False: It is not necessary to write a macro in capital letters

 

2. A macro should always be accommodated in a single line.
True.

 

3. After preprocessing when the program is sent for compilation the macros are removed from the expanded source code.
True.

 

4. Macros with arguments are not allowed.
False: We can have macros with arguments.

 

5. Nested macros are allowed.
False

 

6. In a macro call, the control is passed to the macro. 
False: In the macro call, the macro is expanded in the place where it is called.


© 2020 Garbage Valuegarbage value logo