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
Explain the purpose of the keyword volatile.
What is encapsulation in c++ with example?
what are the events occur in intr activated on interrupt vector table
Describe friend function & its advantages.
What is oop in c++?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
What is helper in c++?
Define macro.
Who was the creator of c++?
Can we use struct in c++?
Explain the extern storage classes in c++.
Is main a class in c++?
Explain the concept of friend function in c++?
How do you print a string on the printer?
Can you please explain the difference between using macro and inline functions?