title: why garbage value is stored during declaration?
body: <p>I heard several times that if you do not initialise a variable then <code>garbage value</code> is stored in it.<br>
  Say</p>
  
  <pre><code>int i;
  printf("%d",i);
  </code></pre>
  
  <p>The above code prints any garbage value, but I want to know that what is the need for storing garbage value if uninitialized?</p>