An inline function is a combination of macro & function. At the time of declaration or definition, function name is preceded by word inline.
When inline functions are used, the overhead of function call is eliminated. Instead, the executable statements of the function are copied at the place of each function call. This is done by the compiler.
The idea behind inline functions is to insert the code of a called function at the point where the function is called. If done carefully, this can improve the application's performance in exchange for increased compile time and possibly (but not always) an increase in the size of the generated binary executables.
Liked By
Write Answer
What do you mean by inline function?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
15-Jan-2015Inline function