Described the advantages of using macro and inline functions?

Submitted by: Administrator
A textual substitution is provided by a macro as a constant, where as an inline function is procedure which is called at each time. Although the macros have few advantages over inline functions, the disadvantages are numerous. For example, a macro can not perform type checking and validation, as these operations are performed in a function at the most.
Submitted by:

Read Online C++ Inline Function Job Interview Questions And Answers