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
Can we create object of interface?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is the oops and benefits of oops programming?
What is class and object with example?
What is the difference between encapsulation and polymorphism?
What are functions in oop?
Why do while loop is used?
What is class encapsulation?
What does <> mean pseudocode?
Why do we use polymorphism in oops?
Is html an oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is polymorphism and why is it important?
What is pointer in oop?
What is difference between oop and pop?