Answer Posted / nikhil upadhyay
It permits a program to reference an identifier in the global scope that has been hidden by another identifier with the same name in the local scope.
The answer can get complicated. However, it should start with "::". If the programmer is well into the design or use of classes that employ inheritance you might hear a lot about overriding member function overrides to explicitly call a function higher in the hierarchy. That's good to know, but ask specifically about global scope resolution. You're looking for a description of C++'s ability to override the particular C behavior where identifiers in the global scope are always hidden by like identifiers in a local scope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c++ vector a linked list?
Explain the register storage classes in c++.
what is a reference variable in C++?
What are references in c++?
what does the following statement mean? int (*a)[4]
What is a character in c++?
What is while loops?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
Why is it necessary to use a reference in the argument to the copy constructor?
What are the advantages of pointers?
Is it possible for a member function to use delete this?
What is else syntax in c++?
What are the restrictions apply to constructors and destructors?
Explain bubble sorting.
What are the two types of comments, and how do they differ?