1 条题解
-
0
C :
#include<stdio.h> struct student { long num; char name[20]; char sex; int year; int month; int day; }; void display (struct student s) { printf("%ld %s %c %d/%d/%d\n",s.num,s.name,s.sex, s.year,s.month,s.day); } int main() { struct student stu={1001011,"王丽",'F',1995,10,12 }; display(stu); return 0; }
- 1
信息
- ID
- 3067
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- 递交数
- 0
- 已通过
- 0
- 上传者