what is inline function?
Answers were Sorted based on User's Feedback
Answer / mishra@deepa
inline function are thise function which get,the body of
the function get pasted at the place of function call,means
it just take the place of the function call ,
it is not necessary that all inline function will remain
inline ,it can be changed into normal fuction call,if the
body of the function is quite big(like it include a long fo
loop).
it is just done to decrease the time of executionthe time a
fuction take to transfer a call to stack.
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / manish chakravarti
inline function is a small function,when programmer use in
our program small code function the compilar will
automaticlly precide inline keyword.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / achal ubbott
The keyword inline before a function's name can make a
difference only if the function is small.
Such a thing helps in reducing the overhead of context
switching and thus making things work a little faster. It
is all upon the compiler to decide if it would really make
that inline or not. The amount of overhead depends upon the
architecture of the underlying CPU.
| Is This Answer Correct ? | 1 Yes | 1 No |
Difference between new operator and operator new
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?
Why is object oriented programming so hard?
How compiler selects(internally) required overridden function in inheritance?
2 Answers CSC, Infinite Computer Solutions,
Why is polymorphism important in oop?
What is operator overloading? Give Example
11 Answers CTS, IBM, TCS,
how to find the correct email address format by using the programe?
What are the data types in oop?
What is the renewal class?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
How to improve object oriented design skills?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321