#include <stdio.h>

void squeeze(char s[], int c)
{
	int i, j;
	for (i = j = 0; s[i] != '\0'; i++)
		if (s[i] != c)
			s[j++] = s[i];
	s[j] = '\0';
}

void strcat(char s[], char t[])
{
	int i, j;

	i = j = 0;
	while (s[i] != '\0')
		i++;
	while ((s[i++] = t[j++]) != '\0')
		;
}

main(int argc, char *argv[])
{
	char buf[64] = "checlloc,";
	squeeze(buf, 'c');
	strcat(buf, " world\n");
	printf(buf);
}
