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

Laura and Brent paddled a canoe 6 miles upstream in four hours. The return trip took three hours. Find the rate at which Laura and Brent paddled the canoe is st
Why did Mao Zedong undertake the Long March?
Which is an accurate description of the viceroyalty system in the Americas? A. Viceroys did the will of the king, protected his territories, and worked to gain
FOURTH AMENDMENT - In what circumstances is a search warrant not mandatory?
In order to enroll in most schools, students must be vaccinated against certain viral diseases, such as mumps. Even with these vaccinations, many student
how were native american religious beliefs similar to the religious beliefs of ancient mesopotamia
What were the living conditions like in Britain during industrialization?
What compound makes up carbohydrates?
Most management problems can be prevented by carefully defining the areas of:
How might history have been different if the Mongols had conquered all or most of Europe? Discuss the possible immediate and long-term consequences for Europe a