codeGK
Code it ALL
strlen() in C - CodeGK

♦ strlen() in C

♣ Example3: strlen() in C

strlen() is a in-built C method(function) to calculate length of initialized string.
In this example, the program will calculate the string length of array str.
Example
Input:
Output:
Strings