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 |
There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?
What's c++ used for?
How do you declare A pointer to a function which receives nothing and returns nothing
Is it possible for the objects to read and write themselves?
Write a c program for binary addition of two 8 bit numbers.
What is a class template in c++?
What is the best way to take screenshots of a window with c++ in windows?
3- Write a program to find larger and smaller of the two numbers.
Describe run-time type identification?
What is a local reference?
Explain the purpose of the keyword volatile.
Why main function is special in c++?