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
What is advantage of inheritance?
What is debug class?what is trace class? What differences are between them? With examples.
What is inheritance and how many types of inheritance?
What is polymorphism explain its types?
Can an interface inherit a class?
Can enum be null?
What is the main feature of oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is an interface in oop?
Which language is not a true object oriented programming language?
What is encapsulation in simple terms?
What does no cap mean?
What does and I oop and sksksk mean?
What is abstraction example?
What is polymorphism programming?