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
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 |
print first nodd numbers in descending order
What is the real purpose of class – to export data?
In the derived class, which data member of the base class are visible?
Are strings immutable in c++?
What is a list c++?
What is the full form of stl in c++?
How can we check whether the contents of two structure variables are same or not?
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
What is a .h file c++?
what is COPY CONSTRUCTOR and what is it used for?
How many types of scopes are there in c++?
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,