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

Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator

2 Answers   HCL, Lehman Brothers, Zoomerang,


What do manipulators do?

0 Answers  


How do I download c++?

0 Answers  


Where and why do I have to put the "template" and "typename" keywords?

0 Answers  






What is a .lib file in c++?

0 Answers  


Is swift better than c++?

0 Answers  


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

0 Answers  


Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.

3 Answers  


What are different types of loops in c++?

0 Answers  


Is linux written in c or c++?

0 Answers  


What is a map in c++?

0 Answers  


Categories