When a function is made inline. Write the situation where
inline functions may not work.

Answers were Sorted based on User's Feedback



When a function is made inline. Write the situation where inline functions may not work...

Answer / sathishbca

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

When a function is made inline. Write the situation where inline functions may not work...

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

Post New Answer

More C++ General Interview Questions

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?

1 Answers   TCS,


What's c++ used for?

0 Answers  


How do you declare A pointer to a function which receives nothing and returns nothing

0 Answers  


Is it possible for the objects to read and write themselves?

0 Answers  


Write a c program for binary addition of two 8 bit numbers.

0 Answers   TCS,


What is a class template in c++?

0 Answers  


What is the best way to take screenshots of a window with c++ in windows?

0 Answers  


3- Write a program to find larger and smaller of the two numbers.

4 Answers   Luminous,


Describe run-time type identification?

1 Answers  


What is a local reference?

0 Answers  


Explain the purpose of the keyword volatile.

0 Answers  


Why main function is special in c++?

0 Answers  


Categories