问题 填空题

#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);
程序运行结果是:______

答案

参考答案:E

解析: 在被调函数中计算字符串的长度,在主函数中输出。

选择题
单项选择题