title: Difference in initializing and zeroing an array in c/c++?
body: <p>In c (or maybe c++) , what's  the difference between 
  <br/></p>
  
  <pre>
  char myarr[16]={0x00};
  </pre>
  
  <p>and
  <br/></p>
  
  <pre>
  char myarr[16];
  memset(myarr, '\0', sizeof(myarr));
  </pre>
  
  <p>??</p>
  
  <p>edit: I ask this because in vc++ 2005 the result is the same..
  <br/>
  edit more : 
  and 
  <pre>char myarr[16]={0x00,}; </pre>  ?
  <br/>
  maybe can get more comprehensive answer and not ambiguous as some answers below refer to this kind of code,ie.
  put comma just before closing curly braces. Also the result is the same in vc++ 2005.</p>