填空题
以下函数sstrcat的功能是实现字符串的连接,即将t所指字符串复制到s所指字符串的尾部。例如:,所指字符串为abed,t所指字符串为efgh,调用函数sstrcat后s所指字符串为 abcdefgh。请填空。
#inehde <stdio.h>
#include <string.h>
void sstuat(char * 9,char *t)
int n;
n = strlen (s);
while(*(s+n) =
【14】
)s++; t++;
【参考答案】
*t
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是 【20】 。 #include <stdio.h> main ( ) iht x=0210; printf( %x n ,x);
点击查看答案&解析
填空题
有以下程序:#include <stdio.h>int sub(int n) return(n 10 + n% 10); main( ) int x,y; seanf( %d , &x); y = sub (sub(sub (x))); printf( %d n ;,y); 若运行时输入:1234<回车>,程序的输出结果是 【13】 。
点击查看答案&解析
相关试题
以下函数rotate的功能是:将a所指N行N列的...
以下程序运行后的输出结果是 【15】 。...
以下程序的功能是计算:s=1+12+12...
以下程序运行后的输出结果是 【17】 。...