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 |
How is polymorphism achieved?
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??
21 Answers Biocon, MIT, NIIT,
3. Differentiate verification and validation.
What is the full form of oops?
What is memory leak and memory corruption?
The type of variable a pointer points to must be the part of pointer's definition so that:
What is a class and object?
what is function overloading..?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
Which is not an object oriented programming language?