Finding the Length of a String
Implementation for finding the length of a string without library functions.
Procedure :
Take character array / pointer as input
Iterate through the array until null terminator (\0) is not encountered.
Increment length in each iteration.
Return length
Contributed by Nitin Ranganath
Last updated