(1) 编写函数int replace_str(char *s,char *t,char *g),利用字符串处理函数将母串s中出现的所有子串t替换成子串g,返回替换的次数。(2)编写main函数,键盘输入母串s、子串t及子串g,调用replace_str函数替换,输出新串及替换次数。