Which string function returns the number of characters in a string?
Answers
Answered by
4
strlen(), is the function that say the number of characters in the string.
Answered by
0
The string function String Length() is used to find the number of characters in a string.
- In any programming language, a string refers to any character placed within double quotation marks.
- The number of characters in a string can also be called the length of the string.
- Thus, the function 'String Length()' helps us to find out the number of alphabets, numbers, or special characters written in a particular string variable.
#SPJ2
Similar questions