Which of the following statements correctly deletes a dynamically-allocated array pointed to by p?
A) delete p;
B) p delete[ ];
C) delete [ ] p;
D) delete array p;
E) None of the above
C) delete [ ] p;
You might also like to view...
Create a movie with the turtle moving across the frames of a movie of a blowhole in directory mediasources/blowhole.
What will be an ideal response?
Which of the following is FALSE about Word templates?
A) The starting point for a blank Word document is called the Standard template. B) A template has a set of defined settings. C) A template has a predefined document structure. D) All documents are based on a template.
Every color is made up of some combination of the three RGB colors on a scale of 0 through ____.
A. 205 B. 216 C. 255 D. 276
Which of the following exceptions is a checked exception?
a. ArithmeticException. b. IOException. c. RuntimeException. d. InputMismatchException.