I have this piece of code here
#include<stdio.h>
void main()
{
    int i=0;
    printf("%d %d\n",++i,i++);
}
Which outputs
10z [achilles:~/Arena/c] $ ./a.out 
2 0
and the equivalent java program
12z [achilles:~/Arena/java] $ cat a.java 
class a
{
    public static void main(String[] args)
    {
        int i=0;
        System.out.printf("%d %d\n",++i,i++);
    }
}
which gives me
12z [achilles:~/Arena/java] $ java a
1 1
Why do they both print different results ??? Arent they both supposed to give me "1 1"
