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
Why ctype h is used in c++?
Is c better than c++?
How to allocate memory dynamically for a reference?
Differentiate between the manipulator and setf( ) function?
What is endianness?
What is abstraction with real time example?
What is the hardest coding language to learn?
What happens when you make call 'delete this;'?
What do manipulators do?
When should you use global variables?
What is the arrow operator in c++?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is using namespace std in c++?
What is scope operator in c++?
What is the c++ code?