面试常见问题小结 1、字符串处理函数 strlen(s):返回s的长度,不包括字符串结束符null; int strlen(const char *str) { assert(str!=NULL); int len=0; while((*str++)!='