title: C strcpy = Unhandled exception: Access violation writing location 0x00000000
body: <p>I have a problem with strcpy function. Using C.
  Main point of this simple code (below) is copying a string from a array to the array of pointers.</p>
  
  <pre><code>char string[20] = "ABCDEFGH\0";
  char * array_of_pointers[20];
  
  // now I want to copy string to the first available slot;
  
  strcpy(array_of_pointers[0],string);
  </code></pre>
  
  <p>Then strcpy throws me error:</p>
  
  <pre><code>Unhandled exception: Access violation writing location 0x00000000.
  </code></pre>
  
  <p>Why? I know that this problem is probably simple, but I really don't have a clue.</p>