title: Why do we need initialize an array to 0 (null)?
body: <p>I found that in C language but I don't know other language it need to initialize an array to 0 or not.</p>
  
  <pre><code>for (i = 0; i &lt; MAXSIZE; i++)  {
      a[i] = 0;
  }
  </code></pre>
  
  <p>Is there a reason for doing this? </p>
  
  <p>In what cases do I need to initialize an array to 0 and in what cases do I not?</p>