单项选择题
有以下程序: #include<string.h> main() { char str[][20]={"Hello","Beijing"),*p=str[0]; printf("%d\n",strlen(p+20)); } 程序运行后的输出结果是( )。
A.0
B.5
C.7
D.20
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: main() { int x=3,y=2,z=1; printf( %d n ,x y&~z); } 程序运行后的输出结果是( )。
A.3
B.2
C.1
D.0
点击查看答案&解析
单项选择题
以下定义语句中正确的是( )。
A.char a='A'b='B';
B.float a=b=l0.0;
C.int a=l0,*b=&a;
D.float *a,b=&a;
点击查看答案&解析
相关试题
(48)~(50)以下程序的功能是:建立...
有以下程序: struct STU{ char name...
D
A.p->nextB.pC.sD.s->next
A.*sB.SC.*s++D.(*++