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 terminate() function?
How one would use switch in a program?
What is c++ used for in games?
What is a modifier in c++?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Define basic type of variable used for a different condition in C++?
Write a program to find the Factorial of a number
What is near, far and huge pointers? How many bytes are occupied by them?
What are the advantages of c++?
What are iterators in c++?
What is private inheritance?
How do you clear a buffer in c++?
What is encapsulation in c++?
Can a constructor return a value?
Explain stack unwinding.