title: In C, why can't I assign a string to a char array after it's declared?
body: <p>This has been bugging me for a while.</p>
  
  <pre><code>struct person {
         char name[15];
         int age;
  };
  struct person me;
  me.name = "nikol";
  </code></pre>
  
  <p>when I compile I get this error:</p>
  
  <blockquote>
    <p>error: incompatible types when assigning to type ‘char[15]’ from type ‘char *’</p>
  </blockquote>
  
  <p>am I missing something obvious here?</p>