Pls help me to remove the segmentation fault frm the code
Why is it showing segmentation fault with size 10^6?
but in other qstns when I used array of this size it didn’t show such faults
@Senjuti256 it also depends on compiler to compiler but it would be always beneficial if large array use dynamic