| 1. |
Advantages And Disadvantages Of Using Macro And Inline Functions? |
|
Answer» The advantage of the MACRO and inline FUNCTION is that the overhead for argument passing and stuff is reduced as the function are in-lined. The advantage of macro function is that we can write type insensitive FUNCTIONS. It is also the disadvantage of macro function as macro functions can't do VALIDATION check. The macro and inline function also increases the size of the executable. The advantage of the macro and inline function is that the overhead for argument passing and stuff is reduced as the function are in-lined. The advantage of macro function is that we can write type insensitive functions. It is also the disadvantage of macro function as macro functions can't do validation check. The macro and inline function also increases the size of the executable. |
|