考试
1970-01-01 08:00:00

中国大学MOOC: 某学生的记录描述如下,能将其正确定义并将

题目描述

中国大学MOOC: 某学生的记录描述如下,能将其正确定义并将变量中的“出生日期”赋值为1984年11月11日的是

答案解析

struct student { int number; char name[20]; char sex; struct { int year; int month; int day; } birth; } s; s.birth.year = 1984; s.birth.month = 11; s.birth.day = 11;

加载中...
AI正在思考中,请稍候...