title: Segmentation fault in strcpy
body: <p>consider the program below</p>
  
  <pre><code>    char str[5];
      strcpy(str,"Hello12345678");
      printf("%s",str);
  </code></pre>
  
  <p>When run this program gives segmentation fault.</p>
  
  <p>But when strcpy is replaced with following, program runs fine.</p>
  
  <pre><code>strcpy(str,"Hello1234567");
  </code></pre>
  
  <p>So question is it should crash when trying to copy to str any other string of more than 5 chars length.</p>
  
  <p>So why it is not crashing for "Hello1234567" and only crashing for "Hello12345678" ie of string with length 13 or more than 13.</p>
  
  <p>This program was run on 32 bit machine .</p>