title: c string copy with strncpy
body: <p>I am really frustrated about strncpy function. I did something like this:</p>
  
  <pre><code>char *md5S; //which has been assign with values, its length is 44
  char final[32];
  strncpy(final,md5S,32);
  </code></pre>
  
  <p>but somehow the length of <code>char final[]</code> became more than 32 after.<br>
  What should I do here?</p>