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
Correct Answer:
Verified
Q31: Dynamic memory allocation occurs
A) when a new
Q32: The following statement _ cin >> *num3;
A)
Q33: The _ and _ operators can be
Q34: The following statement _ int *ptr =
Q35: If a variable uses more than one
Q37: Every byte in the computer's memory is
Q38: Which of the following is true about
Q39: In the following statement, what does int
Q40: A pointer variable is designed to store
A)
Q41: What will the following code output?
Int *numbers
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents