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

Answer Posted / glibwaresoftsolutions

In this set of fresher-level C++ interview questions, one common topic is the concept of namespaces. Namespaces in C++ are used to organize multiple classes and functions, which simplifies application management..
The most commonly used namespace in C++ is the std namespace, which contains components of the standard library. Programmers can also create custom namespaces to encapsulate related functionality, helping to avoid name clashes in larger projects.
To access elements within a namespace, you can utilize the scope resolution operator (::) or the using directive.

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 near, far and huge pointers? How many bytes are occupied by them?

1159


What do you mean by storage classes?

1649


Is dev c++ free?

1097


To what does “event-driven” refer?

1110


In a function declaration, what does extern mean?

1112


Search for: what is pair in c++?

1169


What is long in c++?

1300


What is the output of the following program? Why?

1196


What is the difference between #define debug 0 and #undef debug?

1232


Explain the use of vtable.

1132


What is istream c++?

1259


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

1290


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

1161


Explain how functions are classified in C++ ?

1295


What are c++ manipulators?

1117