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 a set in c++?

928


What are virtual functions in c++?

1140


What is the use of dot in c++?

1049


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1215


Explain storage qualifiers in c++.

1052


Program to check whether a word is a sub-string or not of a string typed

1993


Explain selection sorting. Also write an example.

996


What are shallow and deep copies?

1085


How a pointer differs from a reference?

1293


How new/delete differs from malloc()/free?

1103


Write about the various sections of the executable image?

948


Can you declare an array without a size in c++?

986


Define a conversion constructor?

1042


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

4082


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1068