首页
›
答案
›
题库
›
知到智慧树
›
未分类
以下对结构体变量stul中成员age的非法引用是()。 struct student {int age; int num; }stul,*p; p=&stul;
以下对结构体变量stul中成员age的非法引用是()。 struct student {int age; int num; }stul,*p; p=&stul;
A.stul.age
B.student.age
C.p->age
D.(*p).age
正确答案:B
标签:
C语言编程新思路
变量
成员
上一条:
下面程序的运行结果是()。 #include <stdio.h> union data { int i; char c; double d; }a[2]; void main() {printf("%d\n",sizeof(a)); }
下一条:
运行下列程序,输出结果为()。 #include <stdio.h> int main() { int x=040; printf("%d\n",x=x<<1); return 0;}