问题 单项选择题

以下程序的输出结果是( )。
char str[15]="hello!";
printf("%d\n",strlen(str));

A.15
B.14
C.7
D.6

答案

参考答案:D

单项选择题
单项选择题