单选题 有以下程序:
#include <stdio.h>
#include <string.h>
main( )
{char str[][20]={"One * World","One * Dream!"},*p=str[1];
printf("%d,",strlen(P)); printf("%s/n",p);
}
程序运行后的输出结果是______。
【正确答案】 A
【答案解析】[解析] p是指向二维字符数组第二行“One*Dream!”的数组指针,所以长度是10,打印输出的也是该字符串。