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

i want the NIC programmer-B model papaer pattren, iwant the all model papers?

15 Answers   NIC,


What is the difference between delegation and implemented-in-terms-of?

0 Answers  


Explain object slicing in c++?

0 Answers  


Write a C++ Program to check whether a number is prime number or not?

0 Answers   IBS,


What is the function of I/O library in C++ ?

0 Answers   HCL,






What is the best c++ book?

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


What are the stages in the development cycle?

0 Answers  


How to declare an array of pointers to integer?

0 Answers  


What are the storage qualifiers?

0 Answers  


Should I learn c++ c?

0 Answers  


What is scope resolution operator in c++ with example?

0 Answers  


Categories