Explain the scope resolution operator?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / neelam saini
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is an inline function in c++?
Is it possible to have a recursive inline function in c++?
What do you mean by pure virtual functions in C++? Give an example?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
What do you understand by zombie objects in c++?
How do you test your code?
Difference between a copy constructor and an assignment operator.
What is a tuple c++?
What is an orthogonal base class in c++?
program in c++ to input digits and print in words
What is size of empty class object
what is the difference between overloading & overriding? give example.