#include <string.h>size_t strlen(const char *str);
The strlen( ) function returns the length of the null-terminated string pointed to by str. The null terminator is not counted.
Related functions are memcpy( ), strchr( ), strcmp( ), and strncmp( ).