I am really new to C, so I am sorry if this is a absolute beginner question, but I am getting a segmentation error when I am building large array, relevant bits of what I am
You array stores on stack frame, which has a limit to its size, use malloc instead.
malloc
unsigned long long *numbs = malloc(arr_size * sizeof(long long)); // don't forget to free after use free(numbs)