Segmentation fault (core dumped)

I asked a similar question here, it might help. Why "segmentation fault" arises and how to avoid it?

1 Like