单项选择题
若有以下语句,则正确的描述是
char a[]='toyou';
char b[]={′t′,′o′,′y′,′o′,′u′};
A.a数组和b数组的长度相同
B.a数组长度小于b数组长度
C.a数组长度大于b数组长度
D.a数组等价于b数组
A.a数组和b数组的长度相同
B.a数组长度小于b数组长度
C.a数组长度大于b数组长度
D.a数组等价于b数组
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
已知学生记录描述为: struct student { int no; char name[20],sex; struct { int year,month,day; } birth; }; struct student s; 设变量s中的'生日'是'1984年11月12日',对'birth'正确赋值的程序段是A.year=1984;month=11;day=12; B.s.year=1984;s.month=11;s.day=12; C.birth.year=1984;birth.month=11;birth.day=12; D.s.birth.year=1984;s.birth.month=11;s.birth.day=12;
A.year=1984;month=11;day=12;
B.s.year=1984;s.month=11;s.day=12;
C.birth.year=1984;birth.month=11;birth.day=12;
D.s.birth.year=1984;s.birth.month=11;s.birth.day=12;
点击查看答案
单项选择题
设有以下说明语句 typedef struct { int n; char ch[8]; } PER; 则下面叙述中正确的是A.PER 是结构体变量名 B.PER是结构体类型名 C.typedef struct 是结构体类型 D.struct 是结构体类型名
A.PER
B.PER是结构体类型名
C.typedef
D.struct
点击查看答案
相关试题
The main idea of the story is tha...
When we dream,().
Which of the following is true?(...
Why do some people often dream abo...
If the patient is rational and pos...