what is inline function?

Answers were Sorted based on User's Feedback



what is inline function?..

Answer / mishra@deepa

inline function are thise function which get,the body of
the function get pasted at the place of function call,means
it just take the place of the function call ,

it is not necessary that all inline function will remain
inline ,it can be changed into normal fuction call,if the
body of the function is quite big(like it include a long fo
loop).

it is just done to decrease the time of executionthe time a
fuction take to transfer a call to stack.

Is This Answer Correct ?    8 Yes 4 No

what is inline function?..

Answer / manish chakravarti

inline function is a small function,when programmer use in
our program small code function the compilar will
automaticlly precide inline keyword.

Is This Answer Correct ?    1 Yes 0 No

what is inline function?..

Answer / achal ubbott

The keyword inline before a function's name can make a
difference only if the function is small.
Such a thing helps in reducing the overhead of context
switching and thus making things work a little faster. It
is all upon the compiler to decide if it would really make
that inline or not. The amount of overhead depends upon the
architecture of the underlying CPU.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More OOPS Interview Questions

Out of 4 concepts, which 3 C++ Follow?

1 Answers   TCS,


What is a friend function & its advantage?

1 Answers   MIT,


what is virtual function in c++

6 Answers  


Why is polymorphism needed?

0 Answers  


What is multilevel inheritance in oop?

0 Answers  






Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.

13 Answers   Wipro,


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

0 Answers  


What is the point of polymorphism?

0 Answers  


tell about copy constructor

3 Answers   Siemens,


What does and I oop and sksksk mean?

0 Answers  


Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?

5 Answers  


What is encapsulation selenium?

0 Answers  


Categories