Answer Posted / subham chaudhary
The scope operator can be used to refer to members of the global namespace. Because the global namespace doesn’t have a name, the notation :: member-name refers to a member of the global namespace. This can be useful for referring to members of global namespace whose names have been hidden by names declared in nested local scope. Unless we specify to the compiler in which namespace to search for a declaration, the compiler simple searches the current scope, and any scopes in which the current scope is nested, to find the declaration for the name.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of vtable.
What is a null object in c++?
Does c++ have foreach?
Is arr and &arr are same expression for an array?
What is code reusability in c++?
Describe the advantages of operator overloading?
What is boyce codd normal form in c++?
What is #include cmath?
Describe the process of creation and destruction of a derived class object?
What is difference between c++ 11 and c++ 14?
Do inline functions improve performance?
What is fixed in c++?
What do you mean by inheritance in c++? Explain its types.
Can you overload the operator+ for short integers?
Why do we use iterators?