#GESP2813. [GESP]L4-202412-Q2813-S
[GESP]L4-202412-Q2813-S
下面的描述中,( )不能正确定义一个名为 Student 的结构体以及一个包含 个元素的结构数组。
A.
struct Student {
string name;
int age;
float score;
};
struct Student students[20];
B.
struct Student {
string name;
int age;
float score;
};
Student students[20];
C.
struct Student {
string name;
int age;
float score;
};
Student* students = new Student[20];
D.
struct Student {
string name;
int age;
float score;
};
Student students = new Student[20];
{{ select(1) }}
- A
- B
- C
- D
相关
在下列比赛中: