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
Is c++ a float?
What is pure virtual function?
What is a storage class used in c++?
What do you mean by late binding?
How are Structure passing and returning implemented by the compiler?
What is the best way to take screenshots of a window with c++ in windows?
Explain the term memory alignment?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
Why iomanip is used in c++?
what is Member Functions in Classes?
Explain the operation of overloading of an assignment operator.
What are friend classes? What are advantages of using friend classes?
What is singleton pattern in c++?
How would you implement a substr() function that extracts a sub string from a given string?
What are the c++ access specifiers?