postincrement 2

#include <stdio.h>
int i=0;
void f(int k){
  printf("in function:%d",i);
}
int main (void)
{
  f(i++);
}

The program will output:

1:

in function:0

2:

in function:1