title: Runtime error when running my code
body: <p>When I compile my C codes sometimes I get this error message.</p>
  
  <blockquote>
    <p>Mycode.exe has stopped working..<br>
    A problem caused the program to stop working correctly.<br>
    Windows will close the program and notify you if a solution available.</p>
  </blockquote>
  
  <p>My C code :</p>
  
  <pre><code>#include&lt;stdio.h&gt; 
  
  main(){ 
      char a; 
      a="S"; 
      printf("%s",a); 
  } 
  </code></pre>
  
  <p>So what is the reason for this problem?<br>
  Syntax error, Runtime error or another reason?                    </p>