[填空题] 以下函数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++;问题解析:
解析无上一篇 [单项选择题] Applet可以做下列哪些操作______。
下一篇 [单项选择题] 设A="12345678",则表达式Val(Left(A,4)+Mid(A,4,2))的值为_________。