strlen

Calculates the length of a string.

size_t strlen (char * string);

Required Header
<string.h>

Return Value

The length of a string is returned.

Parameters

string

  A string

String

See Also    strcat, strcmp, strcpy