题目内容
当运行以下程序时从键盘输入字符串qwerty<回车>和abcd<回车>,则程序的输出结果是____。 #include #includestrle(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); } main() {char str1[81],str2[81],*p1=str1,*p2=str2;gets(p1);gets(p2); printf("%d\n",strle(p1,p2)); }
查看答案
搜索结果不匹配?点我反馈
更多问题