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?

Answers were Sorted based on User's Feedback



Explain the scope resolution operator?..

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

Explain the scope resolution operator?..

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

Post New Answer

More C++ General Interview Questions

What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


How do you generate a random number in c++?

0 Answers  


Should the this pointer can be used in the constructor?

0 Answers  


What is searching? Explain linear and binary search.

0 Answers  


What is stoi in c++?

0 Answers  


What is Memory Alignment?

2 Answers   TCS,


What is microsoft c++ redistributable 2013?

0 Answers  


How java is different from c and c++?

0 Answers  


What happens when the extern "c" char func (char*,waste) executes?

0 Answers  


When does a name clash occur in c++?

0 Answers  


Explain class invariant.

0 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


Categories