title: if statment and garbage value in C
body: <p>I am newbie to the C programming.I know this is a very simple question but I need some advice.
  I am exercising with the control structure <code>if statement</code>. I came across one example</p>
  
  <p>Here is the code:-</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
      int a = 200, b, c ;
      if (a &gt;= 300)
      {
          b = 100 ;
          c = 200 ;
      }
      printf ( "b=%d\nc=%d", b, c ) ;
      return 0;
  } 
  </code></pre>
  
  <p>And the output of this is :-</p>
  
  <pre><code>b=32767
  c=0
  </code></pre>
  
  <p>Here i am expecting the output as the both value to be zero. By seeing this output i am little surprised that why the garbage value in the variable <code>b</code>. </p>
  
  <p>What is the reason behind that?Or I am declaring the variable in wrong way. what should the whole scenario behind this?</p>