title: Why can you put multiple characters in C++ char*
body: <p>I can't figure out how this works.</p>
  
  <pre><code>// This doesn't work (obviously)
  char a;
  a = "aaa";
  
  // This works
  char* a;
  a = "aaa";
  </code></pre>
  
  <p>How come this works ?</p>
  
  <p>Since <code>char</code> type stores only one character or 1 byte number, how can you store more characters in it when you access it through a pointer ?</p>