#include<stdio.h> int main() { int a[]={1,2,3,4,5}; int *p=a; printf("%d,",*p); printf("%d,",*(++p)); printf("%d,",(*p)++); printf("%d,",*p); printf("%d,",*p--); printf("%d,",--(*p)); printf("%d\n",*p); return 0; }
输出结果是1,2,2,3,3,0,0,求每一步详细分析!
南孩北调
相关分类