结构成员访问的三种方法
#include "stdio.h"
#include "string.h"
#include <stdlib.h>
main ()
{
struct student{
int num;
char * name;
int score;
}stu;
struct student *p=&stu;
stu.num=1;
(*p).name="tom";
p->score=78;
printf("%d\n",p->num);
printf("%s\n",p->name);
printf("%d\n",p->score);
}