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 overriding possible in c++?
What is a storage class?
What is one dimensional array in c++?
Which is best ide for c++?
Explain operator overloading.
What is data hiding c++?
What are different types of loops in c++?
Is c++ low level?
How many keywords are used in c++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Is c++ a software?
What are manipulators used for?
How many types of comments are there in c++?
What is difference between c++ and c ++ 14?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work