everest% CC des9.C record2.C
des9.C:
record2.C:
everest% 

everest% a.out
Alternate Constructor: this=ffffffadd0, s=(10012208,"S"),str=(10013010,"S")
Identify S: id: this=ffffffadd0, str=(10013010,"S")

Do Assignment

Identify T: id: this=ffffffadd0, str=(10013010,"S")
Finished Assignment

str1=(10013020,"S")
Identify S: id: this=ffffffadd0, str=(10013010,"S")


End of main()

Destructor: this=ffffffadd0, str=(10013010,"S")
everest% 


everest% g++ des9.C record2.C
everest% 

everest% a.out
Alternate Constructor: this=7fff2ee8, s=(100000a0,"S"),str=(10000300,"S")
Identify S: id: this=7fff2ee8, str=(10000300,"S")

Do Assignment

Identify T: id: this=7fff2ee8, str=(10000300,"S")
Finished Assignment

str1=(10000310,"S")
Identify S: id: this=7fff2ee8, str=(10000300,"S")


End of main()

Destructor: this=7fff2ee8, str=(10000300,"S")
everest% 
