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

how many counts does a semibreve have
can you please help me with the literal meaning to the song clarity by zedd
Calculate the number of moles 56.75 g of Al(NO3)3 8.35 g of Al2(SO4)3 3.8 g of FeSO4
Describe and explain the main causes of the Cold War :)
Can someone read my essay and say what I have to improve also tell me what I should put for my conclusion. Thank you! “Love Exists” True love is when you are co
Suppose that the function f ( x ) = 2x + 12 represents the cost to rent x movies amonth from an internet movie club. Makayla now has $10. How many more dollars
what is the three most profitable commodities in Africa?
Why do you think it might be worth supporting a minor political party in the United States even if that candidate has little chance of winning?
If y varies jointly as x and z and y = 60 when x = 3 and z = 4, find y when x is 6 and z is 8. Can aanyone walk me through how to do this?
Which of the following accurately describes the white army?a) hoped to create a military dictatorshipb) wanted to redistribute landc) was headed by leon trotsky