Segmentation fault

I am getting the Segmentation fault Compilation error and am unable to figure out why.

@sankalp.sharma99 the error is because of large array size, create the BIT array globally, it will be correct.

1 Like