Destructor and delete

sir if i am write delete and not define destructor its not work . if i am write delete and define destructor then deallocate all memory of variable (x) like as
int x[ ]={3,4,5,6,7,8}
delete x;
its write or not

destructor and constructor are used in classes

what you want to ask??
kindly send the complete code