Calculates length of a string.
strlen calculates the length of str. Returns the number of characters in str, not counting the terminating null character.