✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
До якої логічної помилки виконання програми призведе наведений фрагмент коду?
int *p;
for (int i=0; i<10; i++)
p = new int (i);
cout << *p;
delete p;