Write a C program for Macro Processor. Here’s a Simple Program implementation of Macro processor in C Programming Language.
We know that Macro is a single line abbreviation for a group of statements. We should define that sentence – cluster before using them in actual program.
Macro processor will analyse the program and on encountering macro variable, it will replace that ‘Macro invocation’ to corresponding Macro definition.
It should also take care the number and position of arguments used in Macro invocation.