单项选择题

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

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