C – Preprocessor directives

PREV    NEXT C Preprocessor directives: Before a C program is compiled in a compiler, source code is processed by a program called preprocessor. This process is called preprocessing. Commands used in preprocessor are called preprocessor directives and they begin with “#” symbol. Below is the list of preprocessor directives that C programming language offers. Preprocessor Syntax/Description      Macro Syntax: #define This macro defines constant value and can be any of the basic data types. Header file inclusion Syntax: #include <file_name> The source code of the file “file_name” is included in the main program at the specified place. Conditional … Continue reading C – Preprocessor directives