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

Difference between pass by value and pass by reference?

1158


Is linux written in c or c++?

1054


Should I learn c or c++ first?

1129


What is istream c++?

1202


Define pointers?

1058


What is purpose of new operator?

1072


Which operations are permitted on pointers?

1001


Can we use this pointer inside static member function?

1074


What is else syntax in c++?

1212


Differentiate between a constructor and a destructor in c++.

1019


What is the importance of mutable keyword?

1024


Do you know about C++ 11 standard?

1090


write a programme to get a character and thier ASCII value

3049


What is a local variable?

1085


What is the difference between structures and unions?

1064