A.any class
B.only the Target class
C.any class in the test package
D.any class that extends Target
第1题:
根据下面的定义,能输出字符串“Li”的语句是()。 struct person { char name[10]; int age; }class[10]={"Zhang",18, "Li",17, "Ma",18, "Huang",18};
A.printf("%sn",class[2].name);
B.printf("%sn",class[2].name[0]);
C.printf("%sn",class[1].name);
D.printf("%sn",class[1].name[0]);
第2题:
根据下面的定义,能输出字母M的语句为()。 struct person{ char name[9]; int age; }; struct person class[10]={{“John”,17},{“Paul”,19},{“Mary”,18}};
A.printf(“%cn”,class[3].name);
B.printf(“%cn”,class[3].name[1]);
C.printf(“%cn”,class[2].name[1]);
D.printf(“%cn”,class[2].name[0]);
第3题:
4、函数内定义结构体指针变量的形式是?
A.struct type_variable_name variable_name;
B.Struct type_variable_name variable_name;
C.struct variable_name type_variable_name;
D.struct variable_name;
第4题:
根据下述定义,能输出字母M的语句是()。 struct person {char name[9]; int age;}; struct person class[10]={"Johu",17,"Paul",19,"Mary",18,"Adam",16};
A.printf("%c",class[3].name);
B.printf("%c",class[2].name[0]);
C.printf("%c",class[3].name[1]);
D.printf("%c",class[2].name[1]);
第5题:
根据下面的定义,能输出Mary的语句是() struct person { char name[9]; int age; }; struct person class[5]={"John",17,"Paul",19,"Mary",18,"Adam",16};
A.printf("%sn" ,class[1].name);
B.printf("%sn" ,class[2].name);
C.printf("%sn" ,class[3].name);
D.printf("%sn" ,class[0].name);
第6题:
15、查询字符串(名称/值对)是在 GET 请求的 URL 中发送的,比如: /test/demo_form.php?name1=value1&name2=value2