title: I'm not able to figure out how this code produces this output
body: <p>I'm not able to understand, why this code produces this output. Can anyone help me with this??</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int main( void )
  {
      int num = 5;
  
      printf( &quot;%d %d %d&quot;, num, ++num, num++ );
  }
  </code></pre>
  <p>The output will be <code>7 7 5</code> (and NOT <code>5 6 7</code>)</p>