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 are the advantages and disadvantages of using inline
and const?

Answer Posted / nidhi singh

advantages of inline-no function calls need to be
generated.no stack required.
disadvantage -inline functions require more space..
the whole definition is copied.
by using const we insure the value of variable is not goin
to change..

Is This Answer Correct ?    42 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me difference between constant pointer and pointer to a constant.

1200


What will happen if a pointer is deleted twice?

1187


Write about all the implicit member functions of a class?

1062


What is a constructor and how is it called?

1050


Do class declarations end with a semicolon?

1087


What is the difference between reference and pointer?

1168


What are the effects after calling the delete this operator ?

1060


What is the best it certification?

1126


Write about the role of c++ in the tradeoff of safety vs. Usability?

1074


Why is it called c++?

1039


Who created c++?

1065


What is called array?

1100


What do you mean by “this” pointer?

1072


In the derived class, which data member of the base class are visible?

1118


What are signs of manipulation?

1069