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


Please Help Members By Posting Answers For Below Questions

What is a pointer with example?

659


What are literals in C++?

593


What are the extraction and insertion operators in c++? Explain with examples.

646


How can I disable the "echo" feature?

607


What is the header file for setw?

573






What is scope operator in c++?

563


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2282


What do you mean by a template?

621


What do manipulators do?

568


Are there interfaces in c++?

556


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

639


What are the various storage classes in C++?

646


the first character in the variable name must be an a) special symbol b) number c) alphabet

603


What is #include c++?

567


Differentiate between a constructor and a method in C++.

556