填空题
以下程序运行后的输出结果是
【17】
。
#include <stdio.h>
main ( )
char c;int n = 100;
float f= 10:double x:
x=f*=n/= (c=50);
printf("% d% f\n",n,x);
【参考答案】
220.000000
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下函数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++;
点击查看答案&解析
填空题
以下程序的功能是计算:s=1+12+123+1234+12345。请填空。#include <stdio.h>main( ) int t=0.s =0,i: for(i=1;i<=5;i++) t=i+ 【16】 ;s=s+t; prinff( s = % d n . s );
点击查看答案&解析
相关试题
以下函数rotate的功能是:将a所指N行N列的...