1.

What Are The Advantages And Disadvantages Of Using Macro And Inline Functions?

Answer»

Advantage:
MACROS and Inline functions are efficient than calling a normal function. The times spend in calling the function is SAVED in case of macros and inline functions as these are INCLUDED DIRECTLY into the code.
Disadvantage:
Macros and inline functions increased the size of EXECUTABLE code.

Advantage:
Macros and Inline functions are efficient than calling a normal function. The times spend in calling the function is saved in case of macros and inline functions as these are included directly into the code.
Disadvantage:
Macros and inline functions increased the size of executable code.



Discussion

No Comment Found