A-A+
下列程序的运行结果为【 】。 include <stdio.h> main() { stat
问题详情
下列程序的运行结果为【 】。 include <stdio.h> main() { static char str1[40]; char str2140]; strcpy(str2,"China"); strcat(str1,str2); strcat(str1," is a great country !"); printf("%s %s ",str2,strl); printf("%d %dn",strlen(str2),strlen(str1)); }
请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:ChinaChina is a great country ! 5 25
China,Chinaisagreatcountry!525