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  >  Concepts  >  OOPS

 Print  |  
Question:  while copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function



May 05, 2007 07:30:16 #6
 Sunny   Member Since: Visitor    Total Comments: N/A 

RE: while copying the objects if you say X a = b and a...
 
Definitly the constructor should be invoked, but can "=" be overloaded ? i doubt it cannot.
     

 

Back To Question