int main()
{
int* p=NULL;
int n[5] = { 1,2,3,4,5 };
p = n;
printf("++p = %d\n",++p );
printf("p++ = %d\n", p++);
printf("(p)++ = %d\n", (p)++);
printf("*(p++) = %d\n", *(p++));
return 0;
}
输出分别是2 2 3 4.
原文:https://www.cnblogs.com/chenzekun/p/14136294.html