using namespace std;
Int main ()
{char a, [10].
Char * p;
char c;
Int sum=0;
cout<" Please input a string: ";
for(int i=0; i<=9; I++)
Cin> A, [I].
cout<" Please enter the characters you want to find: ";
Cin> C;
For (p=a; * p!='\ 0'; P++)
{if (* p=='c')
Sum++;
The else sum;
}
Cout & lt;
}