squeeze
void squeeze(char string[], int ch)
{
int i, j;
for (i = j = ; string[i] != '\0'; i++) {
if (string[i] != ch)
string[j++] = string[i];
}
string[j] = '\0';
}
2024-03-20 17:53:04
squeeze
void squeeze(char string[], int ch)
{
int i, j;
for (i = j = ; string[i] != '\0'; i++) {
if (string[i] != ch)
string[j++] = string[i];
}
string[j] = '\0';
}