以下C++代码合法。
struct Student {
string name;
int age;
float score;
};
Student* students = new Student[20];
正确答案:正确(√)
struct Student {
string name;
int age;
float score;
};
Student* students = new Student[20];
正确答案:正确(√)
想系统刷完 GESP C++ 1~8 级真题,并查看每道题的逐题精讲?
进入 GESPPASS 开始练习