有以下程序:  #include<string.h>  main( )  { char  *p="abcde\0ghjik\0";   printf("%d\n",strlen(p) );  }  程序运行后的输出结果是

admin2005-03-15  30

问题 有以下程序:  #include<string.h>  main( )  { char  *p="abcde\0ghjik\0";   printf("%d\n",strlen(p) );  }  程序运行后的输出结果是

选项 A、12
B、15
C、6
D、5

答案D

解析
转载请注明原文地址:https://jikaoti.com/ti/luS0FFFM
0

最新回复(0)