Does defining a function inline mean that it wont push and
pop things on/off the stack ...like parameters and the
return the address??
Answer Posted / 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 |
Post New Answer View All Answers
Can c++ be faster than c?
What is the use of 'using' declaration in c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is c++ hiding?
Difference between a homogeneous and a heterogeneous container
What are the extraction and insertion operators in c++? Explain with examples.
Can I learn c++ as my first language?
Define macro.
Explain virtual destructor?
What language does google use?
What problems might the following macro bring to the application?
What is c++ mutable?
What do c++ programmers do?
Explain the difference between using macro and inline functions?
What is the rule of three?