Hi All,

Please help me in this.

Code:
#include <stdio.h>

int main(void )
{
int i = 1 ;
printf("\n%d %d %d %d\n\n",i++,++i,++i,i++) ;
return 0 ;
}
I am using Mandriva linux and i am using a gcc compiler. In the above mentioned code i am facing a great trouble in finding the reason for result.

The output that i am supposed to get is 1 3 4 4

But i a different ouput that not even matches with these...

Please help me in these...