title: Is strlen unsafe when getting the last char in a string in C
body: <p>Is there a way for me to get the last char in a string with strlen?
  If not, I can't understand in what context strlen can be used.</p>
  
  <pre><code>char buf[256] = "Hello";
  char * lastchar = buf[strlen(buf) - 1];
  </code></pre>
  
  <p>Is it safe to use it?</p>