Finding String Length
Learn how to calculate the length of the string in this lesson.
We'll cover the following...
To help programmers work with strings effectively, C library provides several functions, like strlen( ), strcpy( ) , strcat( ), strcmp( ), etc. Without these library functions, we would need to develop parallel functions ourselves.
The strlen() function
strlen( ) returns the length of the string, i.e., ...
Ask