Which of the following statements deletes memory that has been dynamically allocated for an array?

a. int array = delete memory;
b. int delete[ ];
c. delete [] array;
d. new array = delete;
e. None of these

c. delete [] array;

Computer Science & Information Technology

You might also like to view...

In Alice, a(n) ____ statement is a flow control statement that directs flow according to the value of a condition.

A. doTogether B. doInOrder C. select D. if

Computer Science & Information Technology

The term __________ means the ability to take many forms.

a. inheritance b. polymorphism c. member function d. encapsulation e. None of these

Computer Science & Information Technology