✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Код програми, поданий нижче ,буде скомпільовано і виконано без помилок:
#include <iostream>
using namespace std;
void main()
{
char** mas = new char*[5];
for (int i = 0; i < 5; i++) {
mas[i] = new char[10];
strcpy_s(mas[i],10,"Hello");
}
for (int i = 0; i < 5; i++)
cout << mas[i][i] << "\n";
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!