Statement:
Memory allocated with new int[10] must be deallocated with delete[].
So..
new int[10];
Then how do I delete it?
EDIT: Thank you guys :) I think Wilson, Paul, Tim etc. are right, the statement omit some words therefore confused me - -...it's simply
int * p = new int[10];
delete [] p;
I've never seen Rob's answer though, looks really new to me! Any explanation will be appreciated.:)
delete[] new int[10];