*pi+=2;pi+=2;*pi+=2; 指针问题求解
#include <stdio.h>main()
{
void change_p(int *pi);
int *p;
int a[]={1,4,7,10};
p=&a[1];
change_p(p);
printf("%d\n",*p);
}
void change_p(int *pi)
{
*pi+=2;
pi+=2;
*pi+=2;
}
求解?
[[it] 本帖最后由 xiaofeixia99999 于 2008-6-4 15:38 编辑 [/it]]