填空题
以下程序的输出结果是______。
#include<stdio.h>
#include<string.h>
char*fun(char*t)
char*P=t;
return(p+strlen(t)/2);
main()
char*str="abcdefgh";
str=fun(str);
puts(str);
【参考答案】
efgh
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序的输出结果是______。 #include<string.h> main() char a[]=’ 1’,’ 2’,’ 3’,’ 4’,’ 0’; printf( % d % d n ,sizeof(a),strlen(a));
点击查看答案&解析
填空题
设有定义语句:int a[][3]=0,1,2;,则数组元素a[1][2]的值为______。
点击查看答案&解析
相关试题
以下程序中函数fun的功能是:构成一个如图...