what is inline function?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1648


What is multilevel inheritance in oop?

792


What is the difference between a constructor and a destructor?

883


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2242


What are the components of marker interface?

819


How do you define social class?

839


Is this job good for future? can do this job post grduate student?

1936


What is byval and byref? What are differences between them?

1974


i got a backdoor offer in process global,Bangalore..Can i work with it?

2601


Why do we use class in oops?

768


What is interface in oop?

892


What do you mean by abstraction?

845


What does no cap mean?

826


What is polymorphism what are the different types of polymorphism?

778


What is the difference between a mixin and inheritance?

769