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
What is the difference between structures and unions?
What is java and c++?
What does namespace mean in c++?
What is the default access level?
How to tokenize a string in c++?
Explain how an exception handler is defined and invoked in a Program.
What is class syntax c++?
What character terminates all character array strings a) b) . c) END
What do you mean by delegate? Can a user retain delegates?
Using a smart pointer can we iterate through a container?
Describe private, protected and public – the differences and give examples.
Is c++ double?
What is class in c++ with example?
What is switch case in c++ syntax?
What is functions syntax in c++?