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

How is computer programming useful in real life?

0 Answers  


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

0 Answers  


How can a called function determine the number of arguments that have been passed to it?

0 Answers  


What are move semantics?

0 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


What is difference between malloc()/free() and new/delete?

0 Answers  


Which software is best for c++ programming?

0 Answers  


write the programme that convert a interger to biniry number

1 Answers   Amazon,


What is the meaning of string in c++?

0 Answers  


class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4

4 Answers   Quark,


What is capacity in vector in c++?

0 Answers  


Show the application of a dynamic array with the help of an example.

0 Answers  


Categories