0
dynamic memory - arrays
int *p = NULL; // Pointer initialized with null p = new int[]; // Request memory delete [] p; // Delete array pointed to by p is this correct? (not declared array length)
2 ответов
+ 2
You must specify length.
int *p = NULL; // Pointer initialized with null p = new int[]; // Request memory delete [] p; // Delete array pointed to by p is this correct? (not declared array length)