everest% CC des09.C record2.C des09.C: record2.C: everest% everest% a.out Alternate Constructor: this=ffffffae00, s=(10012330,"S"),str=(10013010,"S") Default Constructor: this=ffffffae08 Identify S: id: this=ffffffae00, str=(10013010,"S") Do Assignment Alternate Constructor: this=10013020, s=(10012328,"R"),str=(10013030,"R") Identify T: id: this=ffffffae00, str=(10013010,"S") Identify R: id: this=10013020, str=(10013030,"R") Finished Assignment str1=(10013040,"Hello") str2=(10013050,"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++ des09.C record2.C ld: WARNING 84: /usr/local/lib/libstdc++.a is not used for resolving any symbol. ld: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol. everest% everest% a.out Alternate Constructor: this=7fff2eb0, s=(100140c0,"S"),str=(10015010,"S") Default Constructor: this=7fff2ec4 Identify S: id: this=7fff2eb0, str=(10015010,"S") Do Assignment Alternate Constructor: this=10015020, s=(10014098,"R"),str=(10015030,"R") Identify T: id: this=7fff2eb0, str=(10015010,"S") Identify R: id: this=10015020, str=(10015030,"R") Destructor: this=7fff2edc, str=(10015030,"R") Finished Assignment str1=(10015030,"Hello") str2=(10015040,"World") Identify S: id: this=7fff2eb0, str=(10015010,"S") Identify P: id: this=7fff2ec4, str=(10015030,"Hello") End of main() Destructor: this=7fff2ec4, str=(10015030,"Hello") Destructor: this=7fff2eb0, str=(10015010,"S") everest%