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

identify the type of sentence. after the supplies are delivered, we will decorate the room. simple sentence compound sentence complex sentence
How many oxygen atoms are in 6.90 g of Al2(SO4)3? Express your answer using scientific notation with two decimal places.
amy tan was born and raised in china
The red spheres represent oxygen atoms, and the blue spheres represent hydrogen atoms. Is this substance a compound?
Write a full paragraph about your weekend about what you did and where you went.
Write a function using function notation to describe each situation. Find a reasonable domain and range for each function. 1. A law firm charges $100 per hour
whats 2/300 as a decimal and as a percent
vitamins are not organic substances true or false
Three pairs of numbers with the same absolute value
Who is involved in the preventive dental care program