设s="abcd",s1="123",则执行语句s2=InsStr(s,2,s1)后,s2=()
举一反三
- 设s="abcd" ,s1="123" ,则执行语句s2=InsStr(s,2,s1)后,s2= A: "123abcd" B: "a123bcd" C: "ab123cd" D: "abc123d"
- 设s=‘abcd’,s1=‘123’,则执行语句StrInsert( s,2,s1)后,s= .
- 设字符串S1=“ABCDEFG”,S2=“PQRST”,则运算:S= Concat(Substr(S1,1,LEN(S2)),Substr(S1,LEN(S2),2));后的串值为
- 设字符串S1= “ABCDEF”,S2= “PQRS”,则运算S=CONCAT(SUB(S1,2,LEN(S2)),SUB(S1,LEN(S2),2))后的串值为
- 定义chars1[50],s2[50],则正确输入语句是:() A: gets(s1,s2); B: gets(s1[],s2[]) C: scanf("%s%s",&s1,&s2) D: scanf("%s%s",s1,s2)