int **func(const int *s, int length) {
    int **arrays;
    int *arr_even= malloc(sizeof(int) * ((length/2) - (length%2)));
    int *arr_odd= malloc(sizeof(int) * ((length/2) + (length%2)));    
    int even_count;
    int odd_count;
    for (int i = 0; i < length; i++) {  
        if (i / 2 == 0) {  
            arr_even[even_count] = s[i];   
            even_count++;
        } else {
            arr_odd[odd_count] = s[i];
            odd_count++;
        }
    }
    arrays[0] = arr_even;
    arrays[1] = arr_odd;
    return arrays;
}
Return a pointer to an array of two dynamically allocated arrays of ints.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.