Write an algorithms for find the length of the string?
Answers
Answered by
2
Answer:
1.int main() {char a [100]; into length.
printf ("Enter a string to calculate its length\n"); gets (a);
length = strlen(a);
printf ("Length of the string = %d\n",length);
return 0;}
Explanation:
❤plz folow em❤
Answered by
0
Answer:
- 1.int main() {char a [100]; into length.
- printf ("Enter a string to calculate its length\n"); gets (a);
- length = strlen(a);
- printf ("Length of the string = %d\n",length);
- return 0
Explanation:
please mark me as a Brainlist
Similar questions