Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What do you mean by inline function?

Answer Posted / subhashish sen

The inline function is a special function which is basically
used for small function body.If a function with large body
is defined as inline then it would be treated as a normal
function.

The advantage is that the code gets inserted at the place of
function call so it will reduce the time taken for control
to go back and forth from function call to function
definition.So as a result it will make execution faster.

Note: When we declare a function as inline we merely send a
request to the compiler,so its up to the compiler whether
our request is is accepted or not.So its better to define an
inline function for a small function.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main purpose of inheritance law?

1199


when to use 'mutable' keyword and when to use 'const cast' in c++

2165


What is object in oop?

1121


What is polymorphism and types?

1107


Explain the advantages of inheritance.

1151


What is meant by oops concept?

1044


write a program to find 2^n+1 ?

2072


What is encapsulation process?

1054


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


What is abstraction with example?

1114


What makes a language oop?

1068


What is the main feature of oop?

1151


What is variable example?

1045


Whats is abstraction in oops?

1083


Get me a number puzzle game-program

2253