What are C++ inline functions?



What are C++ inline functions?..

Answer / 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

More C++ General Interview Questions

Is python better than c++?

0 Answers  


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

0 Answers  


What is malloc in c++?

0 Answers  


What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }

4 Answers  


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

0 Answers  


In a function declaration, what does extern mean?

0 Answers  


WHAT IS THE ABREVATION OF FORTRAN?

4 Answers  


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

0 Answers  


Explain the differences between private, public and protected and give examples.

0 Answers  


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

0 Answers  


Define a conversion constructor?

0 Answers  


Categories