若有如下定义: struct sk{ int a; int b; }data,*p=&data; 则对data中的成员x的正确引用的是()。
假定一个结构类型的定义为 “struct A{int a,b; A* c;};”,则该类型的理论长度为()。
对于结构声明: struct{ double c; long long g; float e; char *a; void *d; short b; char d; char f; }foo; 假设咋Windows机器上编译它,这里每个K字节的基本数据类型的偏移量必须是K的倍数,问这个结构总的大小是多少?()
结构体struct str{char c; int i[12]; double v;}中字段i的偏移量是()
有以下说明语句:struct Student{int num;double score;};Student stu[3]={{1001,80},{1002,75},{1003,91}},*p=stu;则下面引用形式错误的是()
有以下程序段 struct st {int x;int *y,*pt; int a[]={l,2},b[]={3,4}; strct st c[2]={10,a,20,b}; pt=c; 以下选项中表达式的值为11的是()
假定有“struct BOOK{char title[40]; float price;}; struct BOOK book;”,则不正确的语句为()。
假定有“struct BOOK{char title[40]; float price;}; struct BOOK book;”,则不正确的语句为()。
执行malloc(sizeof(struct BB))函数调用时,得到的动态存储空间能够保存具有struct BB结构类型的一个对象。()
数据结构中,定义结构体使用struct关键字。