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

Is rust better than c++?

604


What is setiosflags c++?

528


What is c++ 11 and c++ 14?

583


What is the difference between passing by reference and passing a reference?

557


What do you mean by function overriding & function overloading in c++?

600






Write about all the implicit member functions of a class?

597


What c++ is used for?

580


In a function declaration what does extern means?

596


What is the insertion operator and what does it do?

561


How would you use the functions randomize() and random()?

627


What is doubly linked list in c++?

632


What are single and multiple inheritances in c++?

576


What is pointer in c++ with example?

518


Name the debugging methods that are used to solve problems?

581


What is the difference between a type-specific template friend class and a general template friend class?

554