Define inline function

Answer Posted / hrpynux@gmail.com

An inline function is one for which the compiler copies the code from the function definition directly into the code of the calling function rather than creating a separate set of instructions in memory. This eliminates call-linkage overhead and can expose significant optimization opportunities.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a singleton class c++?

759


Explain differences between new() and delete()?

818


Which is better c++ or java?

750


Write a program which uses Command Line Arguments

848


How can an improvement in the quality of software be done by try/catch/throw?

811


Write a code/algo to find the frequency of each element in an array?

827


Why #include is used?

801


What is a terminating character in c++?

1021


Is there any function that can skip certain number of characters present in the input stream?

791


Why c++ does not have finally?

824


What is a node class in c++?

826


What is private, public and protected inheritance?

808


How can I learn c++ easily?

832


What will the line of code below print out and why?

522


What return value must conversion operators have in their declaration?

818