帮忙分析一下这个程序,怎么理解?
int x=1;fun(int p)
{int x=4;
x+=p++;//这P怎么理解?
printf(”%d”,x);
}
main()
{int a=3;
fun(a);//经fun函数,计算x=7.对吗?
x+=a++;// x=10?
ptintf(”%d\n”,x);
}
X=多少???
2010-12-13 23:45
2010-12-14 00:03
2010-12-14 00:08

2010-12-14 00:21

2010-12-14 00:33
2010-12-14 09:04
2010-12-14 10:22
2010-12-14 12:53
2010-12-14 13:30
2010-12-14 16:01