Есть ответ 👍

#include #include

using namespace std;

int main()

{

setlocale(LC_ALL, "ru");

srand(time(NULL));

int const i = 10;

int a[i];

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

{

a[i] = rand() % 10;

}

{

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

cout << a[i] << endl;

}

}

Выдает ошибку:Run-Time Check Failure #2 - Stack around the variable 'a' was corrupted.

228
419
Посмотреть ответы 1

Ответы на вопрос:


1. купить шахматы

3. найти коня

4. сделать ход

Популярно: Информатика