What are C++ inline functions?

Answer Posted / hrpynux@gmail.com

C++ provides an inline functions to reduce the function call overhead. Inline function is a function that is expanded in line when it is called. ... This substitution is performed by the C++ compiler at compile time. Inline function may increase efficiency if it is small.

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 the protected keyword used for?

839


How is objective c different from c++?

991


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

879


What is double in c++?

796


What gives the current position of the put pointer?

746


Out of fgets() and gets() which function is safe to use?

851


What is data types c++?

753


Explain the use of vtable.

820


How do I get good at c++ programming?

832


What is the type of 'this' pointer?

784


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

516


What is rtti in c++?

832


Why do we use classes in c++?

796


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

786


How do you find out if a linked-list has an end?

841