Processes preprocessor directives and expands macros. Remove comments and replacing them by a single space. Divide the program into stream of tokens. Joins any lines that end with a backslash character into a single line. Replaces escape sequences by their equivalent internal representation. Format of Preprocessor Directive Preprocessor directives are special instructions for the preprocessor. They begin with a ‘#’ which must be the first non-space character on the line. They do not end with semicolon. Except for some #pragma directives, preprocessor directives can appear anywhere in program. Also Read Preprocessor Syntax Macros vs Functions Predefined Macro program C program to find largest of two numbers using Structure Define a macro EQUALSTR which accepts two strings and compare equality of both string
Engage with tech Interactives in fun way, Learn while having fun