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 do you mean by stack unwinding in c++?
Name the operators that cannot be overloaded in C++?
Describe protected access specifiers?
What is a namespace in c++?
Is it possible to get the source code back from binary file?
What are destructors?
How does list r; differs from list r();?
List down the guideline that should be followed while using friend function.
Which operator cannot overload?
Explain friend class?
What are the three forms of cin.get() and what are their differences?
What do you know about near, far and huge pointer?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What is the disadvantage of using a macro?
What is #include ctype h in c++?