How delete [] is different from delete? Delete is used to release a unit of memory, delete[] is used to release an array.