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

What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

1 Answers   Yahoo,


What is pointer to array in c++?

0 Answers  


write a program in c++ to generate imp z y x w v w x y z z y x w x y z z y x y z z y z z

4 Answers  


Give an example of run-time polymorphism/virtual functions.

0 Answers  


What is the use of object in c++?

0 Answers  






What is the extension of c++?

0 Answers  


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

0 Answers  


what is C++ exceptional handling?

0 Answers  


What are activex and ole?

0 Answers  


What is ostream in c++?

0 Answers  


What is an undefined behavior and sequence points

0 Answers  


How can you force instantiation of a template?

1 Answers   ABC, Amazon,


Categories