When I compiled a code using the array name as a pointer, and I deleted the array name using delete
, I got a warning about deleting an array without using the array form (I don't remember the exact wording).
The basic code was:
int data[5];
delete data;
So, what's the array form of delete?
See Question&Answers more detail:os