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 |
Is there a datatype string in c++?How is the memory allocation?
What is the oldest programming language?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What is the difference between a constructor and a destructor in C++?
What are smart pointers?
What is conversion constructor?
what is a reference variable in C++?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is difference between rand () and srand ()?
What is function overloading c++?
print first nodd numbers in descending order
Can we distribute function templates and class templates in object libraries?