Advertisement
Farjana_akter

Untitled

May 13th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. char s[10000];
  5. int i,j,len=0;
  6. scanf("%s",s);
  7. for(i=0;s[i]!='\0';i++)
  8. {
  9. len++;
  10. }
  11. printf("Length of the string is = %d\n",len);
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement