title: C++: size of a char array using sizeof
body: <p>Look at the following piece of code in C++:</p>
  
  <pre><code>char a1[] = {'a','b','c'};
  char a2[] = "abc";
  cout &lt;&lt; sizeof(a1) &lt;&lt; endl &lt;&lt; sizeof(a2) &lt;&lt; endl;
  </code></pre>
  
  <p>Though <code>sizeof(char)</code> is 1 byte, why does the output show <code>sizeof(a2)</code> as 4 and not 3 (as in case of <code>a1</code>)?</p>