171k views
1 vote
Every preprocessing directive must begin with:

A.
#undef

B.
#

C.
#define

D.
whitespace

User Elbajo
by
5.0k points

1 Answer

4 votes

Answer:

B. #

Step-by-step explanation:

Every preprocessing directive must begin with the # character.

For example:

#define : Used to define a macro

#ifndef : Conditional evaluation of macro

#include : Used to include other preprocessor header file as part of the code

As we can see each of the directives begins with the # character. This is a signal to the preprocessor to interpret the subsequent keyword as a directive.

User Jinghui Niu
by
5.4k points