Macros are the identifiers that represent statements or expressions in other words macros are fragment of code which is been given a name.
define directive is used to define a macro.
we have define a macro i.e SQUARE(x) x*x.
Here the macro determines the square of the given number. Macro Declaration: #define name text
Disadvantage of using Macro:
The major disadvantage associated with the macro is :
1. When a macro is invoked no type checking is performed.
Therefore it is important to declare a macro coreectly so that it gives a correct answer whenever it is called inside the program.