title: printf and ++ operator
body: <p></p>
  
  <pre><code>#include&lt;stdio.h&gt;
  main()
  {
      int a=10;
      printf("\n %d %d", a, a++); //11 10
      a=10;
      printf("\n %d %d", a++, a); //10 11
      a=10;
      printf("\n %d %d %d ", a, a++,++a); //12 11 12
  }
  </code></pre>
  
  <p>after running this I got the output given in comments. as far as I know first output is expected because execution of printf goes from right to left but could not understand second and third</p>