Inline parameters : What does the compiler do with the
parameters of inline function, that can be evaluated in
runtime ?
Answer / Shaili Pandey
In C++, inline functions are functions declared with the keyword 'inline'. The purpose is to make the function call as fast as possible by replacing the function call with the function's body at compile time. If an inline function's body can be completely evaluated at compile time using its parameters, the compiler will do so and insert the resulting code instead of the function call.
| Is This Answer Correct ? | 0 Yes | 0 No |
How many types of scopes are there in c++?
Why should you learn c++?
What is extern c++?
How can a called function determine the number of arguments that have been passed to it?
Define a constructor?
Define a pointer to a data member of the type pointer to pointer?
What is conversion constructor?
Write a C/C++ program to show the result of a stored procedure "PROC_RESET_MAIL" on database "USER_NOTIFY".
2 Answers ABC, Accenture, DataLand, HCL, Webyog,
Why cout is used in c++?
program to print this triangle * * * * * *
Explain terminate() and unexpected() function?
Explain the difference between static and dynamic binding of functions?