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
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 |
What are the unique features of C++.
What is object slicing and how can we prevent it?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is the rule of three?
How can you quickly find the number of elements stored in a dynamic array?
What is the extension of c++?
What is difference between shallow copy and deep copy? Which is default?
Do we have to use initialization list in spite of the assignment in constructors?
What are the types of container classes?
how can u create a doubly linked list with out using pointers?
How to declare a pointer to an array of integers?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.