title: C/C++ Initialise char array to const char*
body: <p>Say I have a char array, this is ok:</p>
  
  <pre><code>char myChars[100] = "hello";
  </code></pre>
  
  <p>But if I have a</p>
  
  <pre><code>const char* hello="hello";
  char myChars[100] = hello;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>const char hello[6]="hello";
  char myChars[100] = hello;
  </code></pre>
  
  <p>it's not allowed:</p>
  
  <pre><code>error: array must be initialized with a brace-enclosed intializer
  </code></pre>
  
  <p>Seems to me that these are basically equivalent statements, why is this the case?</p>