This book is for students () native language is not English .
A.of whom
B.that
C.which
D.whose
D、whose
A.of whom
B.that
C.which
D.whose
D、whose
第1题
A.student是结构体变量
B.stu是typeStudent类型的变量
C.可以用stu定义结构体变量
D.student是派生类型,stu是结构体变量
第2题
A.:1,$s/stu/Student/gc
B.:1,$s/stu/Student
C.:1,Ns/stu/Student
D.:0,$s/stu/Student/g
第4题
程序: #include <stdio.h> #include <string.h> typedef struct{char name[9];char sex;float score[2]}STU; STU f(STU A) {STU b={"Zhao",'m',85.0,90.0}; int i; strcpy(a.name,b.namC) ; a.sex=b.sex; for(i=0;i<2;i++) a.score[i]=b.score[i]; return a; } main() {STU c={"Qian",'f',95.0,92.0},d; d=f(C) ; pintf("%s,%c,%2.of.%2.of\n",d.name,d.sex,d.score[0],&score[1]); } 程序的运行结果是()。
A.Qian,f,95,92
B.Qian,m,85,90
C.Zhao,m,85,90
D.Zhao,C95,92
第8题
A.stu.sina.com.cn
B.sina.com.cn.stu
C.stu@sina.com.cn
D.sina@stu
第10题
有以下程序
struct STU
{ char num[10]; float score[3]; };
main()
{struct STU s[3]={{"20021",90,95,85},
{"20022",95,80,75},
{ "20023",100,95,90},
},*p=s;
int i; float sum=0;
for(i=0;i<3;i++)
sum=sum+p->score[i];
printf("%6.2f\n",sum);
}
程序运行后的输出结果是
A.260.00
B.270.00
C.280.00
D.285.00
第11题
打开表并设置当前有效索引(相关索引已建立)的正确命令是( )。
A.ORDER Student IN 2 INDEX 学号 B.USE Student IN 2 ORDER 学号
C.INDEX 学号 ORDER Student D.USE Student IN 2