struct test{ Char a[3]; Int b[4]; Short c[5]; }; 一个test类型数据占用()个字节的空间。
假定有“struct BOOK{char title[40]; float price;} book;”,则正确的语句为()。
typedef struct{ int num; char *name; } vec_rec; 则在IA32机器上,sizeof(vec_rec) = ()
假定有“struct BOOK{char title[40]; float price;} book;”,则正确的语句为()。
若已定义 struct num{ int a; int b; float f; } n={1,3,5.0}; struct num *p=&n; 则表达式p->b/n.a*++p->b的值是 ① ,表达式(*p).a+p->f的值是 ② 。
若有以下说明和语句: struct student{ int age; int num; }std, *p; p=&std; 则下面对该结构体变量std中成员age的引用方式错误的是()。
假定有定义为“struct NODE{int data;NODE* next;};”,下面算法是把以L为表头指针的链表中各结点依次按相反次序链接并返回新链表的表头指针。
有一个如下的结构体: 请问在64位编译器下用sizeof(struct A)计算出的大小是多少()。
假定一个结构类型的定义为 “struct D{int a; D* next;};”,则该类型的长度为()。
typedef struct{ int num; char *name; } *vec_ptr; 则在IA32机器上,sizeof(vec_ptr) =()