everest% CC des11.C record3.C des11.C: record3.C: everest% everest% a.out Alternate Constructor: this=ffffffae00, s=(10012418,"S"),str=(10013010,"S") Default Constructor: this=ffffffae08 Identify S: id: this=ffffffae00, str=(10013010,"S") Do Assignment Alternate Constructor: this=ffffffae10, s=(10012410,"R"),str=(10013020,"R") Identify T: id: this=ffffffae00, str=(10013010,"S") Identify R: id: this=ffffffae10, str=(10013020,"R") Assignment Operator: this=ffffffae08, &R=ffffffae10, R.str=(10013020,R),str=(10013030,"R") Destructor: this=ffffffae10, str=(10013020,"R") Finished Assignment str1=(10013020,"Hello") str2=(10013040,"World") Identify S: id: this=ffffffae00, str=(10013010,"S") Identify P: id: this=ffffffae08, str=(10013030,"R") End of main() Destructor: this=ffffffae08, str=(10013030,"R") Destructor: this=ffffffae00, str=(10013010,"S") everest% everest% g++ des11.C record3.C everest% everest% a.out Alternate Constructor: this=7fff2e90, s=(100140c0,"S"),str=(10015010,"S") Default Constructor: this=7fff2ea8 Identify S: id: this=7fff2e90, str=(10015010,"S") Do Assignment Alternate Constructor: this=7fff2e38, s=(10014098,"R"),str=(10015020,"R") Identify T: id: this=7fff2e90, str=(10015010,"S") Identify R: id: this=7fff2e38, str=(10015020,"R") Duplicate Constructor: this=7fff2ec8, &R=7fff2e38, R.str=(10015020,R),str=(10015030,"R") Destructor: this=7fff2e38, str=(10015020,"R") Assignment Operator: this=7fff2ea8, &R=7fff2ec8, R.str=(10015030,R),str=(10015020,"R") Destructor: this=7fff2ec8, str=(10015030,"R") Finished Assignment str1=(10015030,"Hello") str2=(10015040,"World") Identify S: id: this=7fff2e90, str=(10015010,"S") Identify P: id: this=7fff2ea8, str=(10015020,"R") End of main() Destructor: this=7fff2ea8, str=(10015020,"R") Destructor: this=7fff2e90, str=(10015010,"S") everest%