Regarding destructors

how to check if a destructor has not destroyed a dynamic data member inside a static class object, if i do not use the delete [ ] command inside a destructor, can u give an example through a code?

@skaushik.46 destructor is called when the scope of the object is over so there is no way to access its data members after its scope is over.

@skaushik.46
pls check this->