#include <stdio.h>
#include <string.h>
#include <memory.h>
int main(int argc, char* argv[])
{
char str1[256] = "hello world!!!";
char str2[256] = "yellow dove!!!";
for (int i = 0; str1[i] != '\0'; i++)
if (strchr(str2, str1[i]))
{
for (int r = i; str1[r] != '\0'; r++)
str1[r] = str1[r+1]; i--;
}
printf("%s\n%s\n",str1,str2);
return 0;
}