Determine the line of code that causes a segmentation fault?

How does one determine where the mistake is in the code that causes a segmentation fault?

Can my compiler (gcc) show the location of the fault in the program?

6 Answers
6

Leave a Comment