Directives
. Directives start with # symbol. Basically, there are 4 Preprocessor directives in C-compiler.
header files
can be used in the main program if once declared.
The file which consists of macro definitions and C-function declarations is called as header file. These can be described more clearly in the lesson Header Files. #define
is a macro, used to denote the constant values and they can be of any data types.
Eg: #define letter 'A'
Suppose if there is #define max(a,b) in the program, it appears as #define max(a>b ? a:b)
after the pre-process commands are compiled.