#include<string.h>#include<stdio.h>void main(){char str|52|;int i, counter=0;scanf("%s", &str);scanf("%c", &str|strlen(str)+2|);for (i=0; i<strlen(str); i++) if (str|strlen(str)+2|==str|i|) counter++;printf("%d", counter);}
int Array = {0};char Str = {0}char temp;int length = 0;while ( temp = getc()){ Array++; Str = temp;}temp = getc();printf("length = %d number of Chars %d,length,Array);
temp = getc();printf("length = %d number of Chars %d,length,Array);