Do not rely upon the default destructor for a class


Do not rely upon the default destructor for a class containing a data member that points to some container because for such classes, this default operation will destroy only the pointer and leave stranded the memory allocated to the container.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Do not rely upon the default destructor for a class
Reference No:- TGS02584457

Expected delivery within 24 Hours