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  >  Tech FAQs  >  OOPS

 Print  |  
Question:   Diffrence between a "assignment operator" and a "copy constructor"



September 09, 2005 12:51:06 #3
 Rongkai Xu   Member Since: Visitor    Total Comments: N/A 

RE: Diffrence between a "assignment operator" and a "...
 
Assignment changed the value of the object that has already been constructed. But copy constructor construct a NEW object and gives it a value at the same time.
     

 

Back To Question