以下scanf函数调用语句中,对结构体变量成员的不正确引用是( ) struct pupil {char name[20 ]; int age ; int sex; }pup[5],*p; p=pup
题目:日记笔以下scanf函数调用语句中,对结构体变量成员的不正确引用是( ) struct pupil {char name[20 ]; int age ; int sex; }pup[5],*p; p=pup;:
A、scanf(“%s“,pup[0].name);
B、scanf(“%d“,&pup[0].age);
C、scanf(“%d“,&sex);
D、scanf(“%d“,P->age);
参考答案:C
版权声明
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益
请联系本站我们将配合处理!