To find the length of a string we used a function known as
strlen(). In other word, to count the total number of characters including
spaces and symbols in a string we used strlen() function.
It return a positive decimal value.
Sy:
variable = strlen( string );
ex;
l = strlen( str );
l = strlen( “Hello World “);
No comments:
Post a Comment