Does defining a function inline mean that it wont push and
pop things on/off the stack ...like parameters and the
return the address??

Answers were Sorted based on User's Feedback



Does defining a function inline mean that it wont push and pop things on/off the stack ...like par..

Answer / jomb

yes... because the function call to inline function will
substitute the code for the function in the place of
function call, instead of transfering the control to the
function... so, no need to push or pop.

Is This Answer Correct ?    4 Yes 0 No

Does defining a function inline mean that it wont push and pop things on/off the stack ...like par..

Answer / jomb

yes...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

When do we use copy constructors?

0 Answers  


What are inline functions? What is the syntax for defining an inline function?

0 Answers  


What and all can a compiler provides by default?

3 Answers   Accenture, HP,


What is the difference between struct and class?

1 Answers  


Explain object slicing in c++?

0 Answers  






Define what is constructor?

0 Answers  


What is the difference between public, private, protected inheritance?

12 Answers   Wipro,


What do you mean by ‘void’ return type?

0 Answers  


Is atoi safe?

0 Answers  


What is the best book for c++ beginners?

0 Answers  


What is a "RTTI"?

6 Answers   HCL,


What is meaning of in c++?

0 Answers  


Categories