title: postfix and prefix in printf and for function (C)
body: <p>I'm sorry, I'm still a noob at C.
  I wonder why post and prefix have different effect in "printf" but have the same effect in "for"or maybe in other loop ? </p>
  
  <p>example :</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  main()
  {
      int number = 0;
      printf("%d.\n", ++number); //It prints 1
      return 0;
  }
  
  
  ...............
      printf("%d.\n", number++); //it prints 0
  ...............
  </code></pre>
  
  <p>but in "for"</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  main()
  {
      int number;
      for (number = 0; number &lt; 5; ++number);
      {
          printf("%d\n", number); //it prints 0,1,2,3,4
      }
      return 0;
  }
  .............
      for (number = 0; number &lt; 5, number++);
      {
         printf("%d\n", number); //it prints 0,1,2,3,4
      }
  .........................
  </code></pre>