title: Remove last character, then concatenate two strings
body: <p>Is below an acceptable way of removing the last char from the first string, then concatenating it with a second string?</p>
  
  <pre><code>char *commandLinePath = server_files_directory;
  commandLinePath[strlen(commandLinePath)-1] = 0;
  
  char fullPath[strlen(commandLinePath) + strlen(requestPath)];
  strcpy(fullPath, commandLinePath);
  strcat(fullPath, requestPath);
  </code></pre>
  
  <p>Let's assume server_files_directory is fine (char *) and has been initialized.  </p>
  
  <p>What I'm worried about is: if the removing part is correct and if the size of the resulting fullPath is correct, etc.</p>