Is there a difference between i++ and ++i
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/561588/what-is-more-efficient-i-or-i">What is more efficient i++ or ++i?</a>  </p>
</blockquote>



<p>No difference between these:<pre><code>i++;
++i;</code></pre></p>

<p>But when using them like this:<pre><code>anArray[ i++ ] = 0;
anArray[ ++i ] = 0;</code></pre></p>

<p>Is there a difference?</p>

<p>TO BE EDITED:
Thanks</p>
