title: Does checking count-- in a for loop cancels the loop?
body: <p>Sry I'm new to C language.
  Can someone help me understand what happens in the "for" loop:</p>
  
  <p>When I run this code I get nothing, it's not even entering the loop:</p>
  
  <pre><code>for( count=0   ;count--;count--)
  {   
      printf("\n%5d", count);
  }
  </code></pre>
  
  <p>And when I run this code I get infinite entrances to the loop:</p>
  
  <pre><code>for( count=1   ;count--;count--)
  {   
      printf("\n%5d", count);
  }
  </code></pre>
  
  <p>And when I run this code I get 1 entrance to the loop:</p>
  
  <pre><code>for( count=2  ;count--;count--)
  {   
      printf("\n%5d", count);
  }
  </code></pre>
  
  <p>And so on for every count=<strong>odd number</strong> I get infinite entrances,  and for every count=<strong>even number</strong> I get a limited number of entrances</p>
  
  <p>Can someone explain me why is this hapening?</p>