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
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What are protected members in c++?
What are the stages in the development cycle?
What is the standard template library (stl)?
What is the full form of india?
What is data type in c++?
What is a stack? How it can be implemented?
How do I run c++?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
What is the best c++ book for beginners?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Difference between pointer to constant vs. Pointer constant
What is low level language in simple words?
How important is c++?
What are structs in c++?