对于下述程序段,结构体变量stu的成员num的非法引用是( )。struct st{int age;int num;}stu,*p;p=&stu;
A. *p->num
B. stu.num
C. p->num
D. (*p).num
以下程序的输出结果是( )struct student{int num;char name[10];int age;}stu[3]={ {9801,"Zhang",20},{9802,"Wang",19}, {9803,"Zhao",18}};main( ){struct student *p=stu;printf("%s\n",p->name);}
A. Zhang
B. Zhao
C. Wang
D. 18