题目内容:
有以下程序:#include(strint9.h>
main()
{char p[20]={'a','b','c','d'},q[]=”abe”,r[]=”
abcde”;
strcpy(p+strlen(q),r);strcat(p,q);
printf(”%d%d\n”,sizeof(p),strlen(p));
)
程序运行后的输出结果是( )。 A.20 9
B.9 9
C.Z0 11
D.11 11.
参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析: