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
How is objective c different from c++?
What is flush programming?
What is struct c++?
What is algorithm in c++ programming?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Which bit wise operator is suitable for turning off a particular bit in a number?
What is a volatile variable in c++?
Explain polymorphism?
How does com provide language transparency?
List the features of oops in c++?
Explain how a pointer to function can be declared in C++?
Explain virtual class and friend class.
Write a program to find the reverse Fibonacci series starting from N.
What is difference between n and endl in c++?
How many types of scopes are there in c++?