Computer Science, asked by Juniorgiawa7394, 5 months ago

Write a algorithm to find length of string

Answers

Answered by romitrandad
1

Answer:

> Length of string in C language

int main() { char a[100]; int 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; }

hope it help you please mark it brainlest

Similar questions