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;

Computer Science & Information Technology

You might also like to view...

As you browse the web, Microsoft Edge stores information about your activities, including the information you have provided to websites when you log on or fill out a form, such as the location of sites you have visited  and preference information.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

JPEG, PNG, and GIF are all examples of _______ images.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology