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 iterator c++?
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is a Default constructor?
What is an object in c++?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
Is dev c++ free?
What are the 4 types of library?
What is the importance of mutable keyword?
Is atoi safe?
How can you create a virtual copy constructor?
What's the most powerful programming language?
What is a tree in c++?
Can non graphic characters be used and processed in C++?
Why c++ is faster than java?
What happens if a pointer is deleted twice?