title: C Pointers and Arrays Incompatible Types
body: <p>So I was wondering why I can't do this.</p>
  
  <pre><code>int main(int argc, char **argv){
  
      FILE *src;
      char filePath[261];
      filePath = argv[1];
  </code></pre>
  
  <p>The last line is where there is a compiler error. What's the difference between char[] and char*? How would I fix this code so I can set filePath equal to argv[1].
  Thanks in advance.</p>