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
what is data abstraction in C++?
Write about the members that a derived class can add?
Describe new operator and delete operator?
Is empty stack c++?
Where the memory to the static variables is allocated?
Define a pointer to a data member of the type pointer to pointer?
Why do you use the namespace feature?
What you know about structures in C++?
How to get the current position of the file pointer?
Are there any special rules about inlining?
Can notepad ++ run c++?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What is while loops?
Why do we need templates?
Explain register storage specifier.