Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(){
- char str1[100],size=0;
- gets(str1);
- for(int i=0;str1[i]!='\0';i++){
- size++;
- }
- printf("%d",size);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement