Multiple Choice
Which of the following statements correctly returns the memory from the dynamic array pointer to by p1 to the freestore?
A) delete [] p1;
B) delete p1[];
C) delete *p1;
D) delete p1;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q18: The size of dynamic arrays must be
Q19: If a program requires a dynamically allocate
Q20: The size of a dynamic array is
Q21: Dynamic variables are created at _
Q22: Which of the following correctly declare 3
Q24: If p1 is an integer pointer variable,
Q25: A _ is the memory address of
Q26: Write the code that assigns to p1
Q27: You can assign an array to a
Q28: A pointer can be stored in an