Macro Usage

Why macro cannot be used in place of inline function?

Showing Answers 1 - 0 of 0 Answers

Sastry

  • Feb 22nd, 2012
 

Inline functions doesnt pass the control to the function, its actually replaced at the place where it is called. Like #define, But when Macro is called it passes the control to the macro block. which actually takes some CPU cycles.

  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