// Online C compiler to run C program online
#include <stdio.h>

int main() {
    char a[100],s[100];
    int i;
   
    scanf("%s",s);
   
    for(i=0;s[i]!='\0';++i){
       
    }
    printf("%d\n",i);
   
    int len=i;
    int pos=2;
   
    for(i=pos;i<len;i++){
        s[i]=s[i+1];
    }
   
    printf("%s",s);
   
    return 0;
}

Embed on website

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