---恢复内容开始---
#include <stdio.h>
int main ()
{
int i,j,m,n;
i=8;
j=10;
m=++i;
n=j++;
printf("%d,%d,%d,%d\n",i,j,m,n);
return 0;
}
//result: 9,11,9,10,
/* i=8
i++_ i=9
i++=8
i=8
++i_ i=9
++i=9 */
---恢复内容结束---
#include <stdio.h>
int main ()
{
int i,j,m,n;
i=8;
j=10;
m=++i;
n=j++;
printf("%d,%d,%d,%d\n",i,j,m,n);
return 0;
}
//result: 9,11,9,10,
/* i=8
i++_ i=9
i++=8
i=8
++i_ i=9
++i=9 */
原文:http://www.cnblogs.com/liuchenchen/p/7501444.html