+ 1

what does segmentation fautl (core dumped) means?

After i gave input to merge sort and this error appears

19th Mar 2019, 4:17 PM
Vishesh Saxena
Vishesh Saxena - avatar
2 odpowiedzi
+ 8
segmentation fault is an error that occurs when you try to access memory that you don't have access to (if that makes sense for some reason). for example, when you try to dereference a null pointer, or write on a read only memory and others. hope this helped a bit, perhaps others will come with more explanations
19th Mar 2019, 5:12 PM
notqueued
notqueued - avatar
+ 1
thanks i aslo think that memory issue was there as i was running the code on online compiler.
20th Mar 2019, 6:47 AM
Vishesh Saxena
Vishesh Saxena - avatar