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 language does google use?
What is a .lib file in c++?
What is encapsulation in C++? Give an example.
Can we distribute function templates and class templates in object libraries?
What is == in programming?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
Why is c++ is better than c?
How does a C++ structure differ from a C++ class?
What is namespace & why it is used in c++?
Is it possible to get the source code back from binary file?
How a modifier is similar to mutator?
what is upcasting in C++?
How would you call C functions from C++ and vice versa?
Why are arrays usually processed with for loop?
What is the default width for ouputting a long integer using the insertion operator?