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 is the use of Namespace in c++.

Answer Posted / snigdhadeb ash.

Namespace is a new concept introduced by the ANSI C++
standards committee. This defines a scops for the
identifiers that are used in a program. For using the
identifiers defined in the namespace scope we must include
the using directive,like
using namespace std;
Here , std is the namespace where ANSI C++ standard class
libraries are defined. All ANSI C++ programs must include
this directive. This will bring all the identifiers defined
in std to the current global scope. using and namespace are
the new keywords of C++.

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 maximum combined length of command line arguments including the space between adjacent arguments?

1042


List the advantages of inheritance.

1184


Which one is better- macro or function?

1283


Search for: what is pair in c++?

1175


How do you print a string on the printer?

1082


Why is it called c++?

1087


Define a pointer to a data member of the type pointer to pointer?

1038


Define Virtual function in C++.

1152


Write about the local class and mention its use?

1135


How do c++ struct differs from the c++ class?

1264


What is endl?

1207


Are php strings immutable?

1110


Explain how we implement exception handling in c++?

1108


How many types of comments are there in c++?

1051


Write about the scope resolution operator?

1077