What are macros ? Macros are preprocessors which are small code of snippets which are replaced in the code AS IT IS before compilation of the program.