What does function length do in String class?
What does function length do in String class? Correct Answer Returns length of string excluding null character
The length function returns the length of string. The length is the number of characters in the string but the last null character is not counted. The string length can be used to loop through each character in the string.
মোঃ আরিফুল ইসলাম
Feb 20, 2025