Following is the program:
void main(void)
{
int z=5;
print(z++, ++z, z--, z, ++z);
}
void print(int a, int b, int c, int d, int e)
{
printf("%d %d %d %d %d", a, b, c, d, e);
}

the output is: 7 7 6 6 6
Can you explain why?

With thanks
Asif Qaiyum