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

What is an Object/Instance?

1 Answers  


What is the difference between = and == in C?

16 Answers   Christ University, Intel,


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

0 Answers   Honeywell,


How many different levels of pointers are there?

0 Answers   Genpact,


Why are arrays usually processed with for loop?

0 Answers  






What it is and how it might be called (2 methods).

0 Answers  


Do you know the problem with overriding functions?

0 Answers  


Write a function that swaps the values of two integers, using int* as the argument type?

0 Answers  


Are c and c++ different?

0 Answers  


what is VOID?

0 Answers  


What is scope in c++ with example?

0 Answers  


When to use Multiple Inheritance?

6 Answers  


Categories