通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
下述函数的功能是( )。
int fun(char *x) { char *y=x; while(*y++); return y-x-1; }