What is the purpose of a C++ namespace?

Answers were Sorted based on User's Feedback



What is the purpose of a C++ namespace?..

Answer / satyagmk

Namespaces are used to avoid naming collisions associated
with the global names.

Is This Answer Correct ?    9 Yes 0 No

What is the purpose of a C++ namespace?..

Answer / raouf

The primary purpose of the namespace is to add an
additional identifier (the name of the namespace) to a name.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More VC++ AllOther Interview Questions

Is it safe to uninstall microsoft visual c++ 2008 redistributable?

0 Answers  


Name the most commonly used wizards?

2 Answers  


Suppose multiple threads accessing a registry key at a time. In that case which synchronization object you will use?

4 Answers   Microsoft,


Difference between getmessage, postmessage & peakmessage.

0 Answers  


Is it ok to uninstall microsoft visual c++?

0 Answers  






How to declare more than one variable on a single line?

3 Answers   CMC,


How do you specify which control is the buddy control?

2 Answers  


What is the difference between pointer and reference?

7 Answers   IBM, Microsoft, Tech Mahindra,


What is the use of message map? Advantages of a message map.

0 Answers  


What is a microsoft visual c++ 2008 redistributable?

0 Answers  


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

0 Answers   Soft Solutions,


What is difference between c++ and vc++?

0 Answers  


Categories