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

Define friend function.

574


Can we make any program in c++ without using any header file and what is the shortest program in c++.

618


What is c++ best used for?

569


what is c++

1805


When does the c++ compiler create temporary variables?

575






What is c++ prototype?

592


What is vector string in c++?

578


Differentiate between an array and a list?

711


What is the use of vtable?

676


Explain the difference between struct and class in terms of access modifier.

699


What language is a dll written in?

550


Keyword mean in declaration?

600


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3375


Explain method of creating object in C++ ?

599


What is namespace & why it is used in c++?

610