Zu Beginn von Array C hinzufügen

// this code was generated by AI

void add_to_beginning(int *array, int *size, int value)
{
    int i;
    for (i = *size; i > 0; i--)
    {
        array[i] = array[i - 1];
    }
    array[0] = value;
    *size += 1;
}
Chrysler