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

admin2005-03-15  27

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

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

答案D

解析
转载请注明原文地址:https://kaotiyun.com/show/yeHp777K
0

相关试题推荐
随机试题
最新回复(0)