单项选择题
以下scanf函数调用语句中对结构体变量成员的不正确引用的是()。 struct node{ char name[20]; int age; int sex; }student[5],*p; p=student;
A.scanf(“%s”,student[0].name); B.scanf(“%d”,&student[0].age); C.scanf(“%d”,&(p->sex)); D.scanf(“%d”,p->age);
单项选择题 当说明一个结构体变量时,系统分配给它的内存是()。
单项选择题 若程序中已经包含头文件stdio.h,则下列程序段中,正确运用指针变量的是()
单项选择题 下列四个程序段中,正确的是()。