delete a single array of object
Posted
by hitech
on Stack Overflow
See other posts from Stack Overflow
or by hitech
Published on 2010-03-21T00:21:09Z
Indexed on
2010/03/21
0:31 UTC
Read the original article
Hit count: 334
c++
I am not sure if both is these works to delete?
p = new int[1];
delete p and delete [] p;
if both works what is the difference between above two delete?
© Stack Overflow or respective owner