Macro and Inline function

What is the difference between macro and inline function?

Questions by rakesh_chourasia

Showing Answers 1 - 1 of 1 Answers

Compiler performs return type checking, function signature before putting inline function into symbol table. But there is no type checking for Macros. So Macros are more error prone as compared to inline functions.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions