[填空题] 以下函数sstrcat()的功能是实现字符串的连接,即将t所指字符串复制到s所指字符串的尾部。例如:s所指字符串为abcd,t所指字符串为efgh,函数调用后s所指字符串为abcdefgh。请填空。
#include <string.h>
void sstrcat(char *s,char *t)
int n;
n=strlen(s);
while(*(s+n)=*t)______)
正确答案:s++;t++;

[填空题] 以下函数sstrcat()的功能是实现字符串的连接,即将t所指字符串复制到s所指字符串的尾部。例如:s所指字符串为abcd,t所指字符串为efgh,函数调用后s所指字符串为abcdefgh。请填空。
#include <string.h>
void sstrcat(char *s,char *t)
int n;
n=strlen(s);
while(*(s+n)=*t)______)
正确答案:s++;t++;
上一篇 [填空题] 下列程序段的输出结果为__________。 int a=2; switch (a) case2: System.out.print("Value is2."
下一篇 [填空题] 以下程序运行后输出的结果是一______。 void main() int x=10,y=20,t=0; if(x==y)t=x;x=y;y=t; printf("%d