填空题
下列程序的运行结果为 【4】 。
#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 %d/n",strlen(str2),strlen(str1));
【正确答案】
1、China,China is a great country ! 5 25
【答案解析】