title: C char array initialization
body: <p>I'm not sure what will be in the char array after initialization in the following ways.    </p>
  
  <p>1.<code>char buf[10] = "";</code><br>
  2. <code>char buf[10] = " ";</code><br>
  3. <code>char buf[10] = "a";</code>  </p>
  
  <p>For case 2, I think <code>buf[0]</code> should be <code>' '</code>, <code>buf[1]</code> should be <code>'\0'</code>, and from <code>buf[2]</code> to <code>buf[9]</code> will be random content. For case 3, I think <code>buf[0]</code> should be <code>'a'</code>, <code>buf[1]</code> should be '\0', and from <code>buf[2]</code> to <code>buf[9]</code> will be random content.</p>
  
  <p>Is that correct?</p>
  
  <p>And for the case 1, what will be in the <code>buf</code>? <code>buf[0] == '\0'</code> and from <code>buf[1]</code> to <code>buf[9]</code> will be random content?</p>