Question: what is difference between inline function and macro in c?
Answer: The basic difference between inline and macro is that an inline functions are parsed by the compiler whereas, the macros in a program are expanded by preprocessor. ... A function that is inline can access the members of the class, whereas, a macro can never access the members of the class.