看看第八行你是不是有符号写成了中文全角。
【相关推荐】
int arr[3] = {1,2,3}; int*p = arr; for(;p!=arr+3;p++){ printf("%d\n",*p); } return 0; }