单项选择题

以下程序运行后的输出结果是()。
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