若有以下定义: struct Book { char isbn[20]; char bookname[20]; char author[20]; float price; int number; } b1; 则b1变量所占的存储空间为 。
举一反三
- 若有以下定义:struct Book{char isbn[20];c...1变量所占的存储空间为 。
- 下面定义结构变量的语句中错误的是。 未知类型:{'options': ['struct student{ int num; char name[20]; } s;', 'struct { int num; char name[20]; } s;', 'struct student{ int num; char name[20]; }; struct student s;', 'struct student{ int num; char name[20]; }; student s;'], 'type': 102}
- 若有定义:char s[20]= "abcdef"; 则strlen(s) 的值为20。
- 若定义char a[10][20];,则a数组可以存储10个字符串,每个字符串的长度至多为20。
- 智慧职教: 设有定义语句“char s[3][20],(*p)[20]=s;”,则下列语句中错误的是()