title: is a not initialized local variable static?
body: <p>if the variable is initialized (i = 0), it's still 1 each time the function func is called, BUT</p>
  
  <p>when i is not initialized:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int funct(void);
  int main(void)
  {
      funct();
      funct();
      funct();
  
      return 0;
  }
  
  int funct(void)
  {
      int i;  
      static int j = 0;
  
      i++;
      j++;
  
      printf(" i = %d         j = %d\n", i, j);
  }
  </code></pre>
  
  <p>the output is</p>
  
  <pre><code> i = 1      j = 1
   i = 2      j = 2
   i = 3      j = 3
  </code></pre>
  
  <p>I don't understand why the variable i behaves like a static one! </p>