标签: strlen函数
thumbnail
new

C语言的strlen函数怎么使用

strlen函数用于计算字符串的长度,其语法如下: size_t strlen(const char *s); 其中,参数s是一个指向以null结尾的字符串的指针。函数返回值是字符串s的长……