题目描述
将字符串t插入到字符串s中,在位置pos后插入。不得使用字符串操作函数,输出组合成的字符串。
输入
输入两个字符串(t和s)和要插入的位置(pos)
输出
输出组合后的字符串
样例输入
qwe
jij
3
样例输出
jijqwe
解答:
#include<stdio.h> int main() { char t[100],s[100],r[200]; int pos,i=0,j=0; gets(t); gets(s); scanf("%d", &pos); while(s[i]!&#