What is the difference between inline functions and macros?
Answer Posted / hr@tgksolutions.com
• 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 is the difference between public, private, and protected access?
Explain the advantages of using friend classes.
What is class definition in c++ ?
Define a constructor - what it is and how it might be called (2 methods)?
What are manipulators used for?
What is a linked list in c++?
Can we use clrscr in c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5
Explain explicit container.
What is a down cast?
Can we delete this pointer in c++?
What is problem with overriding functions?
What are the methods of exporting a function from a dll?
How can you quickly find the number of elements stored in a static array?
What is expression parser in c++