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

If she completely guesses on all of the questions, what is the probability that she gets two of the four questions correct?
PLEASE HELP ASAP 25 POINTS
What is the range of f(x)=4•0.5^x?
how can you make clay??
A criticism of President Reagan’s economic policies during the 1980s was that his policies helped only the wealthy. lowered the national debt. lowered federal s
Which major accomplishment was achieved by Darius I of Persia
read through the scenarios below and calculate the predicted change in kinetic energy of the object compared to a 50 kg ball traveling at 10 m/s. a 50 kg ball t
Which theme is reflected in this excerpt from A Christmas Carol by Charles Dickens? A. the danger of letting yourself be ruled by fear of the unknown B. th
SHOPPING Sera went to the mall and made four purchases. She spent $2.85, $5.11, $7.89, and $4.15. Use mental math to determine how much money Sera spent at the
Information on general crook