Does delete [] deallocate memory allocated by pointers to pointers?

The way you just described :) Loop through the array to delete every object and then delete the array.

Delete calls destructor for every object in array, if such destructor exists. For array of pointers, delete does not release every pointer, since pointer is plain type without destructor. You need to delete every pointer in the code.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions