What is the use of unnamed namespaces in OOPS?
The only advantage I know is that they dont need the scope
resolution operator while accessing them. I want to know
some other advantages of unnamed namespaces...
Answer Posted / c++ coder
in addition to the advantage mentioned above , there is one
more that the namespace is local to the file and one cannot
use it into another by 'using namespace' since it is
unnamed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is abstraction in oop?
#include
What is the difference between a constructor and a destructor?
What is byval and byref? What are differences between them?
Why is static class not inherited?
Can enum be null?
Why is destructor used?
What are the benefits of oop?
What exactly is polymorphism?
What is class and object with example?
#include
What is a function in oop?
Which type does string inherit from?
What are the 3 pillars of oop?