填空题
设有下列的程序段:
char str[]="Hello";
char*ptr;
ptr=str;
执行上面的程序段后,*(ptr+5)的值为______。
【参考答案】
’\0’
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下列程序的输出结果是______。 #include<stdio.h> fun() static int a=0; a+=3;printf( %d ,a); main() int cc; for(cc=1 ;cc<5;cc++)fun(); printf( n );
点击查看答案&解析
填空题
下列程序的输出结果是______。 #include<stdio.h> main() intx=3,y=2,z=1; if(x<y) if(y<0)z=0; else z+=1; printf( %d n ,z);
点击查看答案&解析
相关试题
下列程序的输出结果是______。 main...