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 |
Write about the role of c++ in the tradeoff of safety vs. Usability?
Why main function is special in c++?
Why is c++ considered difficult?
Why do we use vector in c++?
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
What is the use of seekg in c++?
Explain the difference between new() and malloc() in c++?
How do you link a C++ program to C functions?
What is flush c++?
Write a Program for find and replace a character in a string.
How many storage classes are available in C++?
What are protected members in c++?