title: segmentation fault with memcpy (C)
body: <p>I encountered "segmentation fault" error when running the following code, but I am wondering why:</p>
  
  <pre><code>int main()
  {
  char *str = "abcdefghijklmn";
  void *str_v;
  
  memcpy(str_v, str, 14);
  
  printf("str_v is %s \n", (char *) str_v);
  return 0;
  }
  </code></pre>
  
  <p>Thanks for help.</p>