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

What is implicit conversion/coercion in c++?

1 Answers  


What is the sequence of destruction of local objects?

0 Answers  


What is difference between c++ 11 and c++ 14?

0 Answers  


What is the extension of c++?

0 Answers  


Is there any problem with the following: char *a=NULL; char& p = *a;?

1 Answers  






Write a C++ program that asks the user to choose a number between 1 and 1000. Then, your program should be able to guess the number by asking the user no more than 10 yes/no questions. Use a while loop in your program

1 Answers  


What is a wchar_t in c++?

0 Answers  


What is the Difference between "C structure" and "C++ structure"?

12 Answers  


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

0 Answers  


When can you tell that a memory leak will occur?

1 Answers  


Will this c++ program execute or not?

0 Answers  


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

0 Answers  


Categories