everest% CC des12.C record3.C des12.C: record3.C: everest% everest% a.out Alternate Constructor: this=ffffffae00, s=(10012408,"S"),str=(10013010,"S") Default Constructor: this=ffffffae08 Identify S: id: this=ffffffae00, str=(10013010,"S") Do Assignment Identify T: id: this=ffffffae00, str=(10013010,"S") Alternate Constructor: this=10013020, s=(10012400,"R"),str=(10013030,"R") Identify R: Assignment Operator: this=ffffffae08, &R=10013020, R.str=(10013030,R),str=(10013040,"R") Finished Assignment str1=(10013050,"Hello") str2=(10013060,"World") Identify S: id: this=ffffffae00, str=(10013010,"S") Identify P: id: this=ffffffae08, str=(10013040,"R") End of main() Destructor: this=ffffffae08, str=(10013040,"R") Destructor: this=ffffffae00, str=(10013010,"S") everest% everest% g++ des12.C record3.C everest% everest% a.out Alternate Constructor: this=7fff2ea0, s=(100140c0,"S"),str=(10015010,"S") Default Constructor: this=7fff2eb8 Identify S: id: this=7fff2ea0, str=(10015010,"S") Do Assignment Identify T: id: this=7fff2ea0, str=(10015010,"S") Alternate Constructor: this=10015020, s=(100140a8,"R"),str=(10015030,"R") Identify R: Assignment Operator: this=7fff2eb8, &R=10015020, R.str=(10015030,R),str=(10015040,"R") Finished Assignment str1=(10015050,"Hello") str2=(10015060,"World") Identify S: id: this=7fff2ea0, str=(10015010,"S") Identify P: id: this=7fff2eb8, str=(10015040,"R") End of main() Destructor: this=7fff2eb8, str=(10015040,"R") Destructor: this=7fff2ea0, str=(10015010,"S") everest%