Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the scope resolution operator?

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


Please Help Members By Posting Answers For Below Questions

What is the full form of stl in c++?

1238


What is the use of bit fields in structure declaration?

1029


What is the main function c++?

1170


Does c++ cost money?

1050


How do you decide which integer type to use?

1046


What is the arrow operator in c++?

1068


What is this weird colon-member (" : ") syntax in the constructor?

1070


What is the default access level?

1116


Which coding certification is best?

1075


Explain the scope of resolution operator.

1154


Differentiate between an external iterator and an internal iterator?

1047


Tell me can a pure virtual function have an implementation?

1097


What is a loop? What are different types of loops in c++?

1176


How can I improve my c++ skills?

1189


Define what is constructor?

1112