1、编写算法,实现下面函数的功能。函数void insert(char *s,char *t,int pos)将字符串t插入到字符串s中,插入位置为pos。假设分配给字符串s的空间足够让字符串t插入。(说明:不得使用任何库函数)
从pos位置开始,将字符逐一后移len(t)个位置,最后设置pos位置处开始的连续len(t)个元素替换为t。