#include <stdio.h>

int main() {
    char palavra[100];
    int i;
    scanf("%s", palavra);
    for(i=0; i<100; i++){
        if(palavra[i]=='\0'){
            printf("%d", i);
            break;
        }
        
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: