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
Total Preview: 2004
What are macros? What are its advantages and disadvantages?
Copyright © 2024. Powered by Intellect Software Ltd