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
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is ifstream c++?
Explain Memory Allocation in C/C++ ?
What is the use of default constructor?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is a local reference?
What is a local variable?
Explain the term memory alignment?
Is c or c++ more useful?
What is a lambda function c++?
Is c++ a good beginners programming language?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
Who discovered c++?
What do you understand by pure virtual function? Write about its use?
Can we make any program in c++ without using any header file and what is the shortest program in c++.