how to delete something from a heap in c code example Example: delete heap array c int* t = new int[10](); delete [] t;