题目内容
(请给出正确答案)
[单选题]
若有以下定义:char a;int b;float c;double d;则表达式a*b+d-c值的类型为()。
A.float
B.int
C.double
D.char
答案
查看答案
A.float
B.int
C.double
D.char
第1题
A.a=5;
B.a={2,‘a’,1,2};
C.printf(“%d\n”,a);
D.a.1=n;
第2题
A.1
B.2
C.8
D.11
第3题
A.12
B.16
C.14
D.9
第4题
若有如下结构体说明
struct STRU
{ int a, b: char c;double d:
struct STRU p1,p2;
};
请填空,以完成对t数组的定义,t数组的每个元素为该结构体类型
______t[20];
第5题
A.1
B.2
C.7
D.11
第6题
第7题
第8题
A.year=1958;
B.birthday.year=1958;
C.person.birthday.year=1958;
D.person.year=1958;
第10题
char c1,c2;
scanf("%4c%4c",&c1,&c2);