What is the difference between inline functions and macros?
Answer Posted / glibwaresoftsolutions
• 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
Why #include is used?
Write a program which uses Command Line Arguments
Explain the differences between list x; & list x();.
What is stl containers in c++?
What is an adjust field format flag?
What is lazy initialization in c++?
Comment on local and global scope of a variable.
What is the use of ::(scope resolution operator)?
What is a storage class used in c++?
what are the types of Member Functions?
What is switch case in c++ syntax?
What is the difference between *p++ and (*p)++ ?
What is the advantage of an external iterator.
What is pure virtual function?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop