Define namespace.



Define namespace...

Answer / beena

It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

What is the difference between virtual functions and pure virtual functions?

1 Answers  


What are the costs and benefits of using exceptions?

0 Answers   Amazon,


Factory Method C++ – How to delete pointers returned by it

0 Answers  


dynamic scoping is

0 Answers   Siemens,


How can you force the compiler to not generate them?

0 Answers   Amazon,


What are the different scope C++ provide ?

0 Answers   Amdocs,


Explain why C++ is not purely Object Oriented Language

0 Answers   Aspire,


Explain encapsulation in C++.

0 Answers   Verifone,


What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


Can we provide one default constructor for our class?

0 Answers  


How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


Categories