Delete Object From Array Of Pointers In Cpp