title: Increment and Decrement operators
body: <p>I am confused about the output of this program:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
      int i=2;
      while(i + 1?--i:14)
          printf("\n%d", i);
  
      return 0;
  }
  </code></pre>
  
  <p>The output of the above program is printing <code>1</code> and not printing <code>1</code> and then <code>0</code></p>
  
  <p>When <code>i--</code> is used instead of <code>--i</code> it will print <code>1</code> and then <code>0</code></p>
  
  <p>Why is this?</p>
  
  <ul>
  <li>why in predecrementation it will print only <code>1</code> and not print <code>0</code>? </li>
  <li>and why in postdecrementation does it print <code>1</code> and then<code>0</code>?</li>
  </ul>