#include <iostream> #include <string.h> using namespace std; char * replace (char * in, char * s1, char * s2, char *out) { if ((in==NULL)||(s1==NULL)||(s2==NULL)||(out==NULL)) return NULL; char *pOut = out; int lenS2 = strlen(s2); while (*in != '