title: Weird behavior of a counter inside the for loop
body: <p>I've noticed that a counter(<code>a</code>variable) of the for loop, doesn't works well.
  Indeed, the counter doesn't decrements correctly; I know this question seems stupid , but I can't understand why the <code>a</code> variable does this.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      int a,i,b,matrice[2][2];
      printf("Put inside the matrix some numbers..\n");
  
  
      for (a=2;a&gt;=0;a--) {
          for (b=2;b&gt;=0;b--) {
              matrice[a][b]=scanf("%d",&amp;i);
          }
      }
  
      return 0;
  }
  </code></pre>