第23394题 单选题
以下C++代码中,正确定义包含name字符数组和age整数的student结构体的是?
A
struct student { char name[20]; int age; };
B
student struct { char name[20]; int age; };
C
student struct { string name; int age; };
D
struct student { char[20] name; int age; };
程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析