有以下程序: #include<string.h> main() char p
题型:单项选择题
问题:
有以下程序:
#include<string.h>
main()
char p[20]=’a’,’b’,’c’,’d’),q[]="abc",r[]="abcde"
strcat(p,r);strcpy(p+strlen(q),q);
printf("%d\n",sizeof(p));
程序运行后的输出结果是______。
A) 9
B) 6
C) 11
D) 7