
Preprocessor Directives
1. What is a preprocessor directive?
Ans: One of the most important features of ‘C’ language is to offer preprocessor directives. They are
not the program statements but directives to the preprocessor. The preprocessor directives are included
at the beginning of the program before the main(). They can be placed anywhere but quite often it is
included at the beginning before the main() or any particular function. They begin with the symbol #
(hash) to be placed at the first column.
2. How to define preprocessor macro?
Ans: The preprocessor macro is defined as follows.
#define identifier substitute
The preprocessor replaces ...