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

Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


Difference between Call by pointer and by reference.

0 Answers   Adobe,


Explain function prototypes in C++.

0 Answers   Aricent,


What is the purpose of a constructor? Destructor?

0 Answers   Amazon,


Difference between function overloading and function overriding.

0 Answers   Alter,


How many times will this loop execute? Explain your answer.

0 Answers  


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


To solve the 8 Queens problem, which algorithm is used?

0 Answers   Accenture,


What is a constructor initializer list?

0 Answers   Amazon,


How can a C function be called in a C++ program?

0 Answers  


Tell me about virtual function

1 Answers  


What Is Polymorphism in C++ ?

2 Answers   IBS, Impetus, ITC Indian Tobacco Company, Motorola,


Categories