Question:What are macros? What are its advantages and disadvantages?
Answer Macro is a Pre-processor.Major advantage of using the macro is to increase the speed of the execution of the program. Major disadvantage of the macros are: (i) No type checking is performed in macro. This may cause error. (ii) A macro call may cause unexpected results.
+ Report
What are macros? What are its advantages and disadvantages?