有以下程序: #include #include main() { char str[][20]={"One*World","One*Dream!"},*p=str[1];   printf("%d,",strlen(p)); printf("%s\n",p); } 程序运行后的输出结果是(  )。

🔥 2645 热度
A 10,One*Dream!
B 9,One*Dream!
C 9,One*World
D 10,One*World
参考答案
A
解析
【解析】p是指向二维字符数组第二行One*Dream!的数组指针,所以长度是10,打印输出的也是该字符串。