What is the difference between inline functions and macros?
Answer Posted / glibwaresoftsolutions
1. Macros: Text substitution; no type checking.
2. Inline functions: Replaced at runtime; provide type checking and debugging benefits.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do pointers work?
Is c++ faster than c?
Where are setjmp and longjmp used in c++?
What do you mean by const correctness?
What is enum class in c++?
What is called array?
Explain what is class definition in c++ ?
Describe new operator and delete operator?
What are the important differences between c++ and java?
What is a down cast?
What is binary object model?
How do you master coding?
What is c++ namespace?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Why do we use using namespace std in c++?