The preprocessor is controlled by directives known as preprocessor directives, which are not a part of C language. A preprocessor directive consists of various preprocessing tokens and begins with a # (pound) symbol.
Preprocessor directives available in C language are,
- Macro replacement directive (#define, #undef)
- Source file inclusion directive (#include)
- Line directive (#line)
- Error directive (#error)
- Pragma directive (#pragma)
- Conditional Compilation directive (#if, #else, #elif, #endif, #ifdef,#ifndef)
- Null directive (# new-line)
Views: 0