填空题
以下程序运行后的输出结果是
【16】
。
#include <stdio, h>
#include <stating, h>
void fun(char * s,int p,int k)
int i;
for(i=p;i<k-1;i++) s[i] =s[i+2];main( )
char s [] = "abedefg";
fun(s,3 ,strlen(s) ); puts(s);
【参考答案】
abcfg
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后输出结果是 【20】 。 #include <stdio, h> main( ) int a,b,c; a=10; b:20; c=(a%b<1) ‖ (a b>1); printf( %d %d %d n ,a,b,c);
点击查看答案&解析
填空题
以下程序运行后的输出结果是 【19】 。#include <stdio, h>main( ) char c1 ,c2; for( el =’ 0’, c2 =’9’; e1<c2; c1 + + , c2 -- ) printf( %c%c , c1, c2 ); printf( n );
点击查看答案&解析
相关试题
以下程序运行后输出结果是 【18】 。#...
以下程序运行后的输出结果是 【17】 。...
以下程序中,fun函数的功能是求3行4列二...