#include "string.h" int strlen( char *str ); The strlen() function returns the length of str (determined by the number of characters before null termination). Related topics: memcpy strchr strcmp strncmp
int strlen( char *str );
The strlen() function returns the length of str (determined by the number of characters before
null termination).