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
Why is polymorphism used?
program for insertion ,deletion,sorting in double link list
What is encapsulation oop?
Why is abstraction used?
What is overriding vs overloading?
What are the 3 pillars of oop?
What does no cap mean?
How do you define a class in oop?
What is interface? When and where is it used?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is persistence in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is destructor give example?
Which method cannot be overridden?