codylee8197 codylee8197
  • 18-01-2024
  • Computers and Technology
contestada

Which of these properly de-allocated the following array?
int *ptr = new int[10];

a. delete ptr;
b. delete[] ptr;
c. delete *ptr;
d. delete[] *ptr;

Respuesta :

Otras preguntas

Alberta went on a kayaking trip. She traveled 2 miles upstream in the same amount of time that she spent kayaking 6 miles downstream. The water’s current was 2
Which of the following is not risk typically associated with driving in the city
Which of the following provides the same protection as safety glasses?
Dr. burns sees his own therapist in order for him to be at his emotional best for seeing patients. he is open with his feelings and self-disclosing in his own t
Nickname for the upper and middle class settlers who came to settle virginia
Given the line 5x – 2y = 10, Find the equation of a parallel line that passes through the point (2, 3). Find the x- and y-intercepts of both lines. Plot the
Yeah I don’t get this
Who created a vast network of roads to link the empire? A )Aztec B) Maya C) Inca
How would you define the religious sensibility of rumi's poetry? how does rumi's approach to islam differ from the approach reflected in the sharia?
What is the primary purpose of criminal procedure is to maintain the proper balance between?