title: c function parameter evaluation and passing
body: <p>I have a code which is small but I couldn't get why the output is like that.<br>
  Here it is</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int f(int i, int j, int k);
  
  int main(int argc, char const *argv[])  
  {  
      int a;   
      printf("enter a\n");  
      scanf("%d",&amp;a);  
      f(a,a++,a++);  
      printf("%d \n",a );  
      return 0;  
  }  
  
  int f(int i, int j, int k)  
  {  
      printf("function arguments \n");  
      printf("%d %d %d\n",i,j,k );  
  }   
  </code></pre>
  
  <p>input: 4<br>
  output:6 5 4  </p>