[单项选择题] 下面程序段的输出结果是( )。 #include<string.h> void main() char str1[10]="s","t&quo
14 查阅
[单项选择题] 下面程序段的输出结果是( )。
#include<string.h>
void main()
char str1[10]="s","t","u","d","e","n","t";
printf("%d",strlen (str1));
A.7
B.8
C.10
D.存在语法错误
参考答案: