title: Why are static variables auto-initialized to zero?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2091499/why-global-and-static-variables-are-initialized-to-their-default-values">Why global and static variables are initialized to their default values?</a>  </p>
  </blockquote>
  
  
  
  <p>What is the technical reason this happens? And is it supported by the standard across all platforms? Is it possible that certain implementations may return undefined variables if static variables aren't explicitly initialized?</p>