+ 2

What is segmentation fault while using arrays

How to remove it

31st May 2018, 6:11 AM
Harshavardhan Metla
Harshavardhan Metla - avatar
1 ответ
+ 6
A good explanation of segfault: https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault There are a number of reasons why it happens, one of the most common ones being accessing invalid address using a pointer. If you want us to fix your code, you can post it in the thread description so that we can have a look.
31st May 2018, 6:15 AM
Hatsy Rei
Hatsy Rei - avatar