Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- char Str[1000];
- int i;
- printf("Enter the String: ");
- gets(Str);
- for (i = 0; Str[i] != '\0'; i++);
- printf("Length of the String is : %d\n", i);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement