Инициализация массива void Init(int* arr, const int size) { int range = 10; for (int i = 0; i < size; i++) arr[i] = rand() % range; }