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

Why do we use setw in c++?

0 Answers  


if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int1 < int2 && int2 < int 3

3 Answers  


What is a storage class?

0 Answers  


Program to check whether a word is a sub-string or not of a string typed

0 Answers  


What is linked list in c++?

0 Answers  


What is RAII (Resource Acquisition Is Initialization)?

1 Answers  


write a program in c++ to generate imp z y x w v w x y z z y x w x y z z y x y z z y z z

4 Answers  


Can we generate a C++ source code from the binary file?

2 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


Describe public access specifiers?

0 Answers  


What is the use of lambda in c++?

0 Answers  


what are Access specifiers in C++ class? What are the types?

0 Answers  


Categories