int **split_array(const int *s, int length) {
    int *array_even = malloc(sizeof(int) * length / 2 + length % 2);
    int *array_odd = malloc(sizeof(int) * length / 2);
    int (*arrays)[2] = {array_even, array_odd};
    for(int i = 0; i < length; i++) {
        if(i % 2 == 0) {array_even[i / 2] = s[i];}
        else {array_odd[i / 2] = s[i];}
    }
    return arrays;
}
Return a pointer to an array of two dynamically allocated arrays. The first array contains the elements of the input array s that are at even indices.  The second array contains the elements of the input array s that are at odd indices.