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 is the difference between public, private, and protected access?

1013


Is c++ vector dynamic?

1015


What is stack unwinding?

1064


What is the use of "new" operator?

1071


What is else if syntax?

1108


If dog is a friend of boy, is boy a friend of dog?

930


What is decltype c++?

950


What is the use of cmath in c++?

1009


What is c++ mutable?

1083


What is a tree in c++?

920


How does com provide language transparency?

967


When must you use a pointer rather than a reference?

990


List the merits and demerits of declaring a nested class in C++?

984


Can comments be nested?

988


Why is c++ not purely object oriented?

964