title: Unused Variable Error in C .. Simple Question
body: <p>i get error in C(Error- Unused Variable) for variable when i type in following code</p>
  
  <pre><code>int i=10;
  </code></pre>
  
  <p>but when i do this(break it up into two statements) </p>
  
  <pre><code>int i;
  i=10;
  </code></pre>
  
  <p>The error Goes away</p>
  
  <p>..I am using Xcode(ver-4.1)(Macosx-Lion).. 
  Is something wrong with xcode....</p>