int fun(char *s) { char *t = s; while(*t++); return(t-s); }
比较两个字符的大小
计算s所指字符串占用内存字节的个数
计算s所指字符串的长度
将s所指字符串复制到字符串t中