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 problem does the namespace feature solve?

Answer Posted / nimish singh

Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library's external declarations with a unique namespace that eliminates the potential for those collisions.

This solution assumes that two library vendors don't use the same namespace identifier, of course.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by friend class & friend function in c++?

1049


What do you mean by inheritance in c++?

1077


What is the standard template library (stl)?

1737


Explain terminate() function?

1038


How would you obtain segment and offset addresses from a far address of a memory location?

1064


What is difference between class and function?

1074


What is the return value of the insertion operator?

1120


Why can templates only be implemented in the header file?

1100


Why should you learn c++?

1008


Why Pointers are not used in C++?

1068


What is a multiset c++?

1133


What are different types of loops in c++?

1117


Difference between pass by value and pass by reference?

1136


What is a friend function in c++?

1596


How to implement is-a and has-a class relationships?

1010