logo

Crowdly

Код програми, поданий нижче ,буде скомпільовано і виконано без помилок: #includ...

✅ 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()

{

int ** mas = new int*[5];

for (int i = 0; i<5; i++)

{

mas[i] = new int[5];

for (int j = 0; j<5; j++)

mas[i][j] = i * 5 + j;

}

for (int i = 0; i<5; i++)

cout << *&mas[i][i] << '\t';

}

 

0%
0%
More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!