What is the difference between inline functions and macros?
Answer Posted / nashiinformaticssolutions
• Inline Functions: Type-checked, replace function calls with code during compilation.
• Macros: Preprocessor directive, no type-checking.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What kind of problems can be solved by a namespace?
What are containers in c++?
What is the use of endl in c++?
Do vectors start at 0 c++?
What is meant by const_cast?
Explain terminate() function?
What do you mean by persistent and non persistent objects?
Explain unexpected() function?
What new()is different from malloc()?
What is purpose of abstract class?
Tell me difference between constant pointer and pointer to a constant.
What are the various situations where a copy constructor is invoked?
Explain about Garbage Collector?
How do you flush std cout?
How many types of modularization are there in c++?