New course! Every coder should learn Generative AI!
Try a free lesson0
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)
1 Answer
+ 2
You must specify length.