Code I’ve made so far:
int main()
{
char string[100], c;
int removidas;
fgets(string,100,stdin);
scanf("%c", &c);
removidas = funcao(string, c);
printf("Numero de remocoes: %d\n", removidas);
printf("String sem o caractere '%c': %s", c, string);
return 0;
}
Thanks to those who help!!