title: char[] and char* compatibility?
body: <p>In essence, will this code work? And before you say "Run it and see!", I just realized my cygwin didn't come with gcc and it's currently 40 minutes away from completing reinstallation. That being said:</p>
  
  <pre><code>char* words[1000];
  for(int i = 0; i&lt;1000; i++)
      words[i] = NULL;
  
  char buffer[ 1024 ];
  
  //omit code that places "ADD splash\0" into the buffer
  
  if(strncmp (buffer, "ADD ", 4) == 0){
              char* temp = buffer + 4;
              printf("Adding: %s", temp);
              int i = 0;
              while(words[i] != NULL) i++;
              words[i] = temp;
  }
  </code></pre>
  
  <p>I'm mostly uncertain about the line <code>char* temp = buffer + 4</code>, and also whether I can assign words[i] in the manner that I am. Am I going to get type errors when I eventually try to compile this in 40 minutes?</p>
  
  <p>Also-- if this works, why don't I need to use malloc() on each element of words[]? Why can I say <code>words[i] = temp</code>, instead of needing to allocate memory for words[i] the length of temp?</p>