Computer Science, asked by anju5800, 9 months ago

Function will return lenght of the string

Answers

Answered by xSahiBx
0

Answer:

__________________________________

  1. int main() { char a[100]; int length;
  2. printf("Enter a string to calculate its length\n"); gets(a);
  3. length = strlen(a);
  4. printf("Length of the string = %d\n", length);
  5. return 0; }

__________________________________

Similar questions