Hey guys I'm new here, I have a problem with this function, can anyone tell me what's wrong?
int rec (char *s, char c);
printf ("%c appeared %d times\n",c,rec(s,c));
int rec (char *s, char c)
return (1 + rec(s+1,c));