[CODE]
#include<stdio.h>
struct stu{
int num;
char name[20];
}student[3]={{1,"yqiong"},{2,"song"},{3,"li"}},*p;
int main()
{
p=(struct stu*)student[0].name;
printf("%d\n",p);
p=p+1;
printf("%d\n",p);
printf("%d\n",p->num);
printf("%d\n",&student[0]);
printf("%d\n",&student[0].name);
return 0;
}
[/CODE]
楼主调试一下,就清楚了