int **split_array(const int *s, int length) {
    int size1;
    int size2;
    if (length%2 == 0){
        size1 = size2 = length/2;
    }
    else{
        size1 = length/2 + 1;
        size2 = length/2;
    }
    int *arr1 = malloc(sizeof(int)*size1);
    int *arr2 = malloc(sizeof(int)*size2);
    for(int i = 0; i < length; i++){
        if (i%2==0){
            arr1[i] = s[i];
        }
        else{
            arr2[i] = s[i];
        }
    }
    int **arr3 = malloc(sizeof(int)*length);
    arr3 = {arr1, arr2};
    return arr3;
}
how do I initialize array of array using malloc