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 the use of class in c++?
What operators can you overload in c++?
Can a constructor be private?
Define a nested class.
What is static function? Explain with an example
Why should we use null or zero in a program?
What are pointer-to-members in C++? Give their syntax.
Explain the difference between c & c++?
what is oops and list its features in c++?
What is a list c++?
Why do we need function?
Explain the difference between new() and malloc() in c++?
Explain stack & heap objects?
What is array in c++ pdf?
What is static in c++?