title: gcc compiler does not show segfault error
body: <p>I am using mingw compiler on my windows 10 laptop. The following c code should display a segmentation fault error. But instead, it just does not show anything (empty output).</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(){
      main();
  
      return 0;
  }
  </code></pre>
  <p>I compile the code using:</p>
  <pre><code>gcc filename.c
  </code></pre>
  <p>But when I use some online c compilers, it shows segmentation fault. Please tell me how to get segfault error. It is hard to debug the large code if I don't get any error.</p>
  <p>Related: <a href="https://stackoverflow.com/q/67077222">How to get back plain old &quot;Segmentation fault&quot; message in windows?</a></p>