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 terminate() function?

1057


How one would use switch in a program?

1079


What is c++ used for in games?

1171


What is a modifier in c++?

1155


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3879


Define basic type of variable used for a different condition in C++?

1142


Write a program to find the Factorial of a number

1064


What is near, far and huge pointers? How many bytes are occupied by them?

1119


What are the advantages of c++?

1894


What are iterators in c++?

1016


What is private inheritance?

1097


How do you clear a buffer in c++?

963


What is encapsulation in c++?

1298


Can a constructor return a value?

1261


Explain stack unwinding.

1078