GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  C++

 Print  |  
Question:  
What is a scope resolution operator?


Answer:
A scope resolution operator (::), can be used to define the member functions of a class outside the class.


September 09, 2005 08:05:14 #1
 vishnu bobade   Member Since: Visitor    Total Comments: N/A 

RE:
What is a scope resolution operator?

 
shows the scope resolution operator untangling a mess made by using 
the same names for different kinds of entities 
 
base class overridden member function using the scope resolution operator (: :):  
 
The Fundamentals of C++ mt x,y; mt const * p; ... You can use the 
scope resolution operator (::) to specify the desired identifier.
     

 

Back To Question