1.

Difference In Inline Functions And Macro

Answer»
  •  MACRO is expanded by preprocessor and inline FUNCTION are expanded by COMPILER.
  •  Expressions passed as arguments to inline functions are evaluated only once while _expression passed as argument to inline functions are evaluated more than once.
  • More over inline functions are used to overcome the overhead of function calls.
  • MACROS are used to maintain the readability and easy maintenance of the code.



Discussion

No Comment Found