A . 使s的值包含一个字符
B . 定义不合法,s的值不确定
C . 使s的值包含4个字符
D . 使s的值包含3个字符
[单选题]若有以下定义和语句:则输出结果是( )。A.107B.105C.55D.58
[单选题]若有以下定义,则正确的switch语句是______。float x;int a,b;A.switch(x) { case 1.0:printf("*/n"); csse 2.0:printf("**/n"); }B.switch(x) { case 1,2:printf("*/n"); case 3:printf("**/n"); }C.switch(a+b) { case 1:printf("/n"); case 1+2:printf("**/n"); }D.swit
[单选题]若有以下定义的语句struct student{ int age;int num; };struct student stu[3]={{1001,20},{1002,19},{1003,21}};main(){ struct student *p;p=stu;… }则以下不正确的引用是A.(p++)->numB.p++C.(*p).numD.P=&stu.age.
[单选题]若有以下定义的语句struct student{ int age;int num; };struct student stu[3]={{1001,20},{1002,19},{1003,21}};main(){ struct student *p;p=stu;… }则以下不正确的引用是A.(p++)->numB.p++C.(*p).numD.P=&stu.age.
[单选题]若有以下定义和语句 struct a{ int n,m;}; struct a st[3]={{2,3},{4,5},{6,7}}; struct a*p=st;则以下错误的引用是A.(p++)->n; B.st[0].n; C.(*p).n; D.P=&st.m,
[单选题]若有以下定义和语句: iht w[2][3],(* pw)[3];pw=w; 则对w数组元素的非法引用是 ( )A.* (w[0]+2)B.* (pw + 1)[2]C.pw[0][0]D.* (pw[1]+2)
[单选题]若有以下定义的语句 struct student {int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; main() {stmct student *p; p=stu; …} 则以下不正确的引用是A.(p++)->numB.p++C.(*p).numD.P=&stu.age.
[单选题]若有以下定义和语句,则输出结果是______。int **pp,*p,a=10,b=20;pp=&p; p=&a; p=&b; printf("%d/n",*p,**pp);A.10,20B.10,10C.20,10D.20,20
[单选题]若有以下定义和语句 union date { int i; char c; fioat f;} x; int y; 则以下语句正确的是______。A.x=10.5;B.x.c=101;C.y=x;D.printf("%d/n",x);
[单选题]若有以下定义和语句union data{ int i; char c; float f; } x;int y;则以下语句正确的是A.)x=10.5;B.)x.c=101;C.)y=x;D.)printf("%d/n",x);