+ 2

What is segmentation fault??

4th Apr 2018, 5:48 PM
Sarvottam Kumar
Sarvottam Kumar - avatar
2 Respuestas
+ 6
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core . Segfaults are caused by a program trying to read or write an illegal memory location.
4th Apr 2018, 5:55 PM
Scooby
Scooby - avatar
+ 5
You are using memory which you cannot have access to. For example if you have array of size 5 and using array[5], array[6], array[7] etc..
4th Apr 2018, 5:52 PM
Bartosz Pieszko
Bartosz Pieszko - avatar