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 is static function? Explain with an example
Will the inline function be compiled as the inline function always? Justify.
What is difference between shallow copy and deep copy? Which is default?
What do you mean by persistent and non persistent objects?
Write a program which employs Recursion
What is the use of main function in c++?
What is name mangling?
Live example for static function?
What do you mean by vtable and vptr in c++?
What is the role of static keyword for a class member variable?
What is stoi in c++?
What is the difference between while and do while loop?