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 are the various operations performed on stack?
What is ctime c++?
What is buffer and example?
How const int *ourpointer differs from int const *ourpointer?
What is a template in c++?
What is the keyword auto for?
Write a program using display() function which takes two arguments.
What are all predefined data types in c++?
what are the iterator and generic algorithms.
What are structures and unions?
What is & in c++ function?
Can we use clrscr in c++?
How many types of comments are there in c++?
What is the arrow operator in c++?
What are the benefits of operator overloading?