C++ delete[] operator
- by Betamoo
Is this the right way to use delete[] operator?
int* a=new int[size];
delete[] a;
If yes, Who (compiler or GC or whoever) will determine the size of the newly created array? and where will it store the array size?
Thanks