Program to find the length of a string without using strlen() function
String length = number of characters in the string.
The string is a sequence of characters terminated by null character '\0'.
1.Declare a variable to store the string length and initialize it to 0.
int length = 0;
2.Loop through each character in the string and increment the length count till the loop reaches the null character '\0';