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

Give Reason:- 1)Vegetables release water after salt is added to them 2) Nucleus is absent in red blood cells 3) The skin of your fingers shrinks when you wash
in what year did the civil war being?
Find k if (x-3) is a factor of [tex] k^{2} x^{2} -kx-2[/tex].
How was the Queen of Hawaii?
If p+q+r = 1 and pq+qr+pr = -1, and pqr = -1, find the value of [tex] p^{3}+ q^{3}+ r^{3} [/tex]
Wade can paint a certain room in 7 hours. Rhonda can paint the same room in 5 hours. How long will it take them working together to paint the room? Round your a
Compare Ponyboy and Cherry Valance
A rain barrel is a right circular cylinder. If 1ft^3 =7.5 gallons, how many gallons of rainwater can the barrel hold? Use 3.14 Barrel is 1.35ft left to right..
If p+q+r = 1 and pq+qr+pr = -1, and pqr = -1, find the value of [tex] p^{3}+ q^{3}+ r^{3} [/tex]
G=H(q+Q)for Q Solve for Q I dont understand how to do this.