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

In C++ what is a vtable and how does it work?

0 Answers   Agilent,


dynamic scoping is

0 Answers   Siemens,


When must you use a constructor initializer list?

0 Answers   Amazon,


How does free know the size of memory to be deleted

0 Answers  


How to run C++ program in cmd

0 Answers  






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

1 Answers  


What is the difference between public, private, and protected inheritance?

0 Answers   Amazon,


How do you write a function that can reverse a linked-list in C++?

0 Answers   IBS,


Difference between Call by pointer and by reference.

0 Answers   Adobe,


What kind of problems does name mangling cause?

0 Answers   Amazon,


What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.

0 Answers   Adobe,


Categories