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

Explain the purpose of the keyword volatile.

1167


What is encapsulation in c++ with example?

994


what are the events occur in intr activated on interrupt vector table

1749


Describe friend function & its advantages.

1133


What is oop in c++?

1074


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

984


What is helper in c++?

1087


Define macro.

1081


Who was the creator of c++?

1043


Can we use struct in c++?

1016


Explain the extern storage classes in c++.

1048


Is main a class in c++?

1000


Explain the concept of friend function in c++?

1103


How do you print a string on the printer?

1036


Can you please explain the difference between using macro and inline functions?

1041