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 |
Can we inherit constructor in c++?
What are virtual constructors/destructors?
What problems might the following macro bring to the application?
How much do coding jobs pay?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is c++ try block?
What and all can a compiler provides by default?
What is meant by the term name mangling in c++?
Explain the ISA and HASA class relationships. How would you implement each in a class design?
Refer to a name of class or function that is defined within a namespace?
How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?
What can I safely assume about the initial values of variables which are not explicitly initialized?