What is the difference between inline functions and macros?
Answer Posted / nashiinformaticssolutions
1. Macros: Text substitution; no type checking.
2. Inline functions: Replaced at runtime; provide type checking and debugging benefits.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write about the members that a derived class can add?
Describe protected access specifiers?
How do you establish an is-a relationship?
Explain the concept of friend function in c++?
What do manipulators do?
Can we define function inside main in c++?
Which is the best c++ compiler?
What is the error in the code below and how should it be corrected?
What is the c++ programming language used for?
What are guid?
How the delete operator differs from the delete[]operator?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
Explain overriding.