When a function is made inline. Write the situation where
inline functions may not work.
Answers were Sorted based on User's Feedback
inline function can be use in single line manipulations in
program it cannot use in looping, branching
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
THE FUNCTION WHICH IS DECLARE INSIDE THE BODY OF THE BASE
CLASS, IS CALLED INLINE MEMBER FUNCTION.
THE INLOINE FUNCTION MAY NOT WOLRK WHEN IT IS NOT ACCESSED
THROUGH THE OBJECTS.
Is This Answer Correct ? | 3 Yes | 2 No |
What is an Object/Instance?
What is the difference between = and == in C?
16 Answers Christ University, Intel,
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?
How many different levels of pointers are there?
Why are arrays usually processed with for loop?
What it is and how it might be called (2 methods).
Do you know the problem with overriding functions?
Write a function that swaps the values of two integers, using int* as the argument type?
Are c and c++ different?
what is VOID?
What is scope in c++ with example?
When to use Multiple Inheritance?