定义以下结构体类型
struct student
{char name[10];
float score[50];
double average;
}stud1;
则stud1占用内存的字节数是( )。
struct student
{char name[10];
float score[50];
double average;
}stud1;
则stud1占用内存的字节数是( )。
举一反三
- 定义以下结构体类型struct student {char name[10];int score[50];float average; }stud1;则stud1占用内存的字节数是()
- 以下对结构体类型的变量定义中不正确的是 。 A: B: define STUD struct student STUD {long num; char name[20]; char sex; float score;}; STUD stud1,stud2; C: struct student {long num; char name[20]; char sex; float score; }stud1,stud2; D: struct {long num; char name[20]; char sex; float score; } stud1,stud2; E: struct {long num; char name[20]; char sex; float score; }student;struct student stud1,stud2;
- 定义以下结构体类型struct student{char name[10];float score[50];double average;}stud1;则stud1占用内存的字节数是( )。 A: 218 B: 64 C: 7 D: 228
- 定义以下结构体类型struct student{char name[10...;则stud1占用内存的字节数是()。
- 在如下结构体定义中,不正确的是○。 A: struct student { int no; char name[10]; float score; } B: struct stud[20] { int no; char name[10]; float score; } C: struct student { int no; char name[10]; float score; }stud[20]; D: struct{int no;char name[10];float score;}stud[100];