Define namespace in c++?



Define namespace in c++?..

Answer / Vijay Pratap Singh Chauhan

"A namespace in C++ is a logical separation of identifiers that prevents naming collisions. Namespaces allow the reuse of names without conflicts, especially when multiple libraries or user-defined modules are used within a program."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

1 Answers  


Explain friend class?

1 Answers  


Is there finally in c++?

1 Answers  


What would happen on forgetting [], while deallocating an array through new?

1 Answers  


What are the basics concepts of OOPS?

1 Answers  


What is a linked list in c++?

1 Answers  


Which software is best for c++ programming?

1 Answers  


Definition of class?

12 Answers  


Describe run-time type identification?

1 Answers  


What is time_t c++?

1 Answers  


Describe the setting up of my member functions to avoid overriding by the derived class?

1 Answers  


Can I learn c++ without c?

1 Answers  


Categories