Answers

Question and Answer:

  Home  C++ Virtual Functions

⟩ Can you please explain the difference between using macro and inline functions?

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.

 192 views

More Questions for you: