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
What is a pointer with example?
What are literals in C++?
What are the extraction and insertion operators in c++? Explain with examples.
How can I disable the "echo" feature?
What is the header file for setw?
What is scope operator in c++?
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.
What do you mean by a template?
What do manipulators do?
Are there interfaces in c++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
What are the various storage classes in C++?
the first character in the variable name must be an a) special symbol b) number c) alphabet
What is #include c++?
Differentiate between a constructor and a method in C++.