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

lol sorry im being supperrrrrr lazy rn
Write a system of two linear equations in two variables that represents this real life problem and Solve the system of linear equation. Cody's school is selling
PLZ HELP!!! How are rock types affected by acid rain?
Based on the following descriptions, what is the best term that applies? (AKS 58a, DOK1) Pride in your country Based on your geographic location Loyalty based
Answer the questions in the pics
Please help ASAP, will give BRAINLIEST
https://www.blooket.com/play?id=619951 Anybody?
hihihihi i had a question but ik the answer now
I need help on this problem will give Brainlist if right!
In a certain species of insect, some individuals have flattened white disks on their bodies that protrude and interlock, resembling an orchid flower. This adapt