还是不懂为什么
还是不懂为什么是这样的结果.
int x = 0;
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",++x);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
printf("x=%d\n",x++);
结果
x=1
x=2
x=3
x=4
x=4
x=5
x=6
x=7
x=9
x=10
x=11
x=12
x=12
x=13
x=14
x=15
x=16