Simple Destroctor Question-Collection of common programming errors

Hi .I try to run  the follwoing  code .But it throws runtime exception while its trying to delete this in get function.But according to me it should give exception while the program termination.Even i have try to proint in destructor but its not printinig.Plz tell me the reason in deteails.

class sample{  int m; public: sample() { }  void get() { // m=5;  cout