Define namespace.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain register storage specifier.

800


What does flush do c++?

823


explain the term 'resource acquisition is initialization'?

716


Is dev c++ a good compiler?

722


what is pre-processor in C++?

833


What is this weird colon-member (" : ") syntax in the constructor?

775


Which function should be used to free the memory allocated by calloc()?

793


Is string data type in c++?

810


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2388


Differences between private, protected and public and give examples.

788


Is c++ used anymore?

848


Explain the difference between c & c++?

826


What is c++ virtual inheritance?

843


Where do I find the current c or c++ standard documents?

846


What is the difference between interpreters and compilers?

862