ANSWERSGO.com

Added new notification system!, Receive a notification alerting you about actions on your questions and answers. Report any bug in meta Thanks



1

Answers

 

1

Stars

What to do when my C program prints "segment fault"?

Asked By : GeekyCoder29 Requested

What to do when my C program prints "segment fault"?




1 Answers



1

Stars

  

It happens when you access unaccessible memory. You can check your code and/or use debugger like `cdb` or `gdb`, which will tell you which line went wrong.

.


- GeekyCoder29 2020-07-30 08:34:24

Add Comment

 



Question Comments:

Feel free to discuss about question, here!


Just a memory dump when something goes wrong! - Ahmed Ali ♦