单项选择题

以下程序运行后,输出结果是 ( ) #include<stdio.h> ss(char *s) { char*p=s; while(*p) p++ return(p-s); } main() { char *a="abded" int i; i=ss(a) ; printf("%d\n",i); }

A.8
B.7
C.6
D.5