C语言之库函数strlen(*s)

C语言中库函数strlen的作用是获取传入的字符串s中字符的个数,它遇到第一个空字符’\0’返回。
概述:

#include 
size_t strlen(const char *s)

举例:

#include 
#include 
#include 

你可能感兴趣的:(C知识点)