>>476
(1)
int ste_chnum(const char str[],int c)
{
int i;
for (i=0;str[i] != '\0';i++){
if (str[i]=='c'){
c++;
}
}
return c;
}
とりあえず動いた