#include #include main() { char p[20]={'a','b','c','d'},q[]="abc",r[]="abcde";

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 05:25:59
#include  #include  main() { char p[20]={'a','b','c','d'},q[]=
xQ]KA+Cvu}h`۸CEdfA&Ddbeq?z/tsνsgι@+&d`DUc TAud"2"1y Cfj\)KEļJdC4N?y]m/aykZX|Q AcM#=Q Q#zw*+)U=d*%dX+*R]*4QI#eR…/Qsc0r.ֵpNV}vkw9@F,/f+~bMcw 2_

#include #include main() { char p[20]={'a','b','c','d'},q[]="abc",r[]="abcde";
#include #include main() { char p[20]={'a','b','c','d'},q[]="abc",r[]="abcde";

#include #include main() { char p[20]={'a','b','c','d'},q[]="abc",r[]="abcde";
7. 有以下程序
#include
#include
main( )
{ char p[20]={‘a’,’b’,’c’,’d’},q[]=”abc”,r[ ]=”abcde”;
strcpy(p+strlen(q),r);
strcat(p,q);
printf(“%d %d\n”,sizeof(p),strlen(p));
}
程序运行后的输出结果是( C ).
A)20 9 B) 9 9 C) 20 11 D)11 11
详细解释不懂得不要瞎答