void arrRandom(int A[], int size)
{
srand(time(NULL));
for (int i = 0; i < size; i++)
{
A[i] = rand() % 1001;
}
}
second_element = ctypes.c_int(A[1])
begin = ctypes.pointer(second_element)
last_element = ctypes.c_int(A[size - 1])
end = ctypes.pointer(last_element)
result = min_element(begin, end)
print("Минимальный элемент начиная со второго:", result)