填空题
以下程序运行后,输出结果是
1
。
#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);
}
1、
【正确答案】
1、5
【答案解析】
提交答案
关闭