填空题
以下函数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)=【 】{s++;t++;} }
【参考答案】
*t
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是 _______ 。main(){struct NODEs[3]={{1,’’ 0’’},{2,’’ 0’’},{3,’’ 0’’}},*p,*q,*r;int sum=0; s[0].next=s+1;s[1].next=s+2;s[2].next=s; p=s;q=p->next;r=q->next;sum+=q->next->num;sum+=r->next->next->num;printf( %d n ,sum);}
点击查看答案&解析
填空题
某微型机的运算速度为2MIPS,则该微型机每秒执行【 】条指令。
点击查看答案&解析
相关试题
下面程序和运行运行结果是【 】。 typede...