void testPoint(WORD *pwTolCnt)
{
int temp;
temp = *pwTolCnt++; //地址加1、temp数据内容为1
temp = (*pwTolCnt)++; //地址不变、数据内容加1,即temp=2
}
void main()
{
WORD wTolCnt = 1;
testPoint(&wTolCnt);
}
void testPoint(WORD *pwTolCnt)
{
int temp;
temp = *pwTolCnt++; //地址加1、temp数据内容为1
temp = (*pwTolCnt)++; //地址不变、数据内容加1,即temp=2
}
void main()
{
WORD wTolCnt = 1;
testPoint(&wTolCnt);
}