Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- char s[10000];
- int i,j,len=0;
- scanf("%s",s);
- for(i=0;s[i]!='\0';i++)
- {
- len++;
- }
- printf("Length of the string is = %d\n",len);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement