Which of the below statements are true about macros?
i. Macro's run faster than functions.
ii. Since macros are also like function calls, system allocates stack every time macro is called.
iii. Functions increases the size of program compared to macros.
all of the above are true.
Macro's run faster than functions. Because macros will be expanded inline, where for function call it takes sometime to make context switch.
Back To Top