Destructor in oops

Suppose that we design a car class. if the name of the car is stored in the dynamic array. Also we design a destructor. Will this destructor destroy the dynamic array also??

NO ,it will not destroy it automatically

you have to destroy it in destructor using
delete [] arr;