Javatpoint Logo
Javatpoint Logo

C String Length: strlen() function

The strlen() function returns the length of the given string. It doesn't count null character '\0'.

Output:

Length of string is: 10
Next TopicC strcpy()


Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA