填空题
函数fun的返回值是______。
fun(char *a,char *b)
int num=0,n=0;
while(*(a+num)! =’\0’) num++;
while(b[n]) *(a+num)=b[n];num++;n++;
return num;
【参考答案】
字符串a和b的长度之和
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
有以下程序: struct s int x,y; data[2]=10,100,20,200; main() struct s*p=data; printf( %d n ,++(p->x)); 程序运行后的输出结果是______。
点击查看答案&解析
填空题
下面程序的运行结果是______。 #include <stdio.h> main() int y,a; y=2,a=1; while(y--!=-1) doa*=y;a++; while(y--); printf( %d,%d ,a,y);
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> m...
有以下程序: #include <stdio.h> m...
以下程序的输出结果是______。 #in...
设有以下定义和语句,则*(*(p+2)+...
函数my_cmp()的功能是比较字符串s和t的...