单选题 C语言
题号 #2329043

有下列程序:
#include  <string.h>
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

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考