✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Наведений нижче код коректно працює із масивом у динамічній пам'яті:
int main(){ int * p = new int[10]{}; p[0] = 1; p[1] = p[0] + 1; p[2] = p[0] + p[1]; p[3] = p[1] + p[2]; p[9] = 10; delete p; return 0;}Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!