title: Determine the line of code that causes a segmentation fault?
body: <p>How does one determine where the mistake is in the code that causes a <a href="https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault">segmentation fault</a>?</p>
  
  <p>Can my compiler (<code>gcc</code>) show the location of the fault in the program?</p>