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 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 does it mean when someone says I oop?
What is polymorphism in oop example?
What is the point of polymorphism?
What is class and object in oops?
What are classes oop?
How oops is better than procedural?
What are benefits of oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
is there any choice in opting subjects like 4 out of 7
What is protected in oop?
What is overloading and its types?
How do you define social class?
What is overloading in oops?
What is encapsulation and abstraction? How are they implemented in C++?