int *build_array(char **strs, int size) {
    int *arr = malloc(sizeof(int)*size);
    for(int i = 0; i< size; i++){
        arr[i] = strtol(*strs,NULL,10);
    }
    return arr;
}
how can I assign each arr[i] for each part of a long type variable.