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 the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is an adjust field format flag?
What are C++ inline functions?
What are the various oops concepts in c++?
What are static member functions?
What is the type of 'this' pointer?
What does ios :: app do in c++?
Which operator cannot overload?
What are the conditions that have to be met for a condition to be an invariant of the class?
Can a new be used in place of old mallocq? If yes, why?
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,
Difference between static global and global?
16 Answers Microsoft, Symphony, Wipro,