F. [GESP]L4-202412-Q2813-S

    客观题

[GESP]L4-202412-Q2813-S

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

下面的描述中,( )不能正确定义一个名为 Student 的结构体以及一个包含 2020 个元素的结构数组。

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

GESP 2024.12 C++ 四级 全真模拟赛

未参加
状态
已结束
规则
OI
题目
27
开始于
2026-11-20 13:31
结束于
2026-11-25 13:31
持续时间
2 小时
主持人
参赛人数
0