title: Mixed increment operators with logical operators
body: <p>I have a question concerning pre and post increments with logical operators
  if I have this code </p>
  
  <pre><code>void main()
  {int i = - 3 , j = 2 , k = 0 , m ;
  m=++i||++j&amp;&amp;++k;
  printf("%d %d %d %d",i,j,k,m);}
  </code></pre>
  
  <p>knowing that the increment and the decrement operators have higher precedence than &amp;&amp; and || 
  So they'll be executed first Then the &amp;&amp; is higher than<br>
  means -2||3&amp;&amp;1 which gives the values -2 3 1 1 for the printf  </p>
  
  <p>but the output I get when trying on VS2010 is -2 2 0 1 </p>
  
  <p>Does anyone have any explanation for that ? 
  Regards,,</p>