通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下函数:
int fun(char *ps) { char *p; p=ps; if(*ps==NULL)return 0; while(*++p); return(p-ps); }
该函数的功能是()。