Which of the following is(are) true for Macro functions(#define fn()) & inline functions

  1. macro functions are expanded during compile. Inline functions are just usual functions calls

  2. macro functions are expanded during preprocessing and inline functions are expanded during compile

  3. macro functions are expanded during compile and inline functions are expanded during preprocessing

  4. No difference.Both are expanded at compile.


Correct Option: B

Find more quizzes: