#include
#include
#include
int str_fun(char *p)
{
int num=0;
while(*p)
{
num++;
p++;
}
return num;
}
int main(int argc, char *argv[])
{
char s[]="afdfasdfsSFFS";
int n;
n=str_fun(s);
printf("n=%d\n",n);
return 0;
}