What are macros? what are its advantages and disadvantages?

Showing Answers 1 - 1 of 1 Answers


  • Sep 21st, 2005

Macro is a Pre-prosser. The main advantage of using the macro is the speed of the execution of the program (if macro is not used in the program many times or if the program is small). The main disadvantage of the macro is it increase the size of the program because the pre-processor will replace all the macro name in the program by it actual definition before the compilation of the program,

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions