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

hi . i need help with this question on my geometry test !
Please Translate this and give its meaning.
solve the Q6, 7, 9, 10​
if 3 is added to a number and multiplied the result by 5 gives 55 what is the number​
3 50% Draw angle ABC of size 65º. A- B X+
Steffan set up an experiment to test out his theory. He set up a test to compare bees that were exposed to fungicide to a control (bees that were not exposed).
with three cans of paint u can paint 2 walls with 2 layers. How many cans do u need to paint 10 walls with 3 layers?
Programming language​
im being timed so please help-​
find the following square by using the identities [tex](2xy + 5y) {?}^{2} [/tex]​