+ 5

What is segmentation error in c ??

19th Aug 2019, 11:01 AM
€DeStinY€
€DeStinY€ - avatar
4 Answers
+ 9
It happens when you try to read a memory location you are forbidden to
19th Aug 2019, 11:27 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
This usually generates a core dump that you can examine with a debugger to pinpoint the cause of the error.
19th Aug 2019, 2:44 PM
Sonic
Sonic - avatar
0
Happens when memory leaks, when you try to access invalid memory plus other pointer/memory related issues
20th Aug 2019, 6:59 AM
Mensch
Mensch - avatar