Answer Posted / laxman
Inline function :-
In genereal function call branching method is there . In
inline function substitution takes place . Inline
functions are expanded during compilation . Exectution
becomes fast and branching is eliminated. Inline word is a
request but not command. If inline is not possible compiler
takes it like a genral function call.
rules:
1 function should be small
2. Controll statements are not valid like for ,while
if u need more mail to me
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is enum class in c++?
Why do we use pointers in c++?
Describe friend function & its advantages.
What is wrapper class in c++?
What is a class template in c++?
Incase of a function declaration, what is extern means?
Explain how to initialize a const data member.
Write a recursive program to calculate factorial in c++.
What are abstract data types in c++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What is srand c++?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What are structures and unions?
Define private, protected and public access control.