下列程序的运行结果为()。include<stdio.h>voidabc(Char*str){ inta,b,i,j;for(i=j=0;str[i]!='\0';i++)if(str[i]!='a')str[j++]=str[i];str[j]='\0';}void main(){ char str[]="abcdef";abc(str);printf("str[]=%s",str);}
相似题目
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
下列程序的运行结果为________。 #include stdio.h #define MA(x) x*(x-1) void main() { int a=1,b=2; printf(%d,MA(1+a+b)); }
-
阅读下列程序,则在执行后,程序的运行结果为( ).#include stdio.h#include string.hmain( ){ char a[30]=nice to meet you!
-
有以下程序:#include\stdio.h\main(){char c;while((c=getchar())!=’?’)putchar(--c);}程序运行时,如果从键盘输入:Y?N?,则输出结果为_________。
-
如果在下面程序运行时输入123456,程序的运行结果是【 】。 include<stdio.h>int main(); }
-
以下程序的运行结果是【 】。 include<stdio.h> main() { int fun(); fun();} fun (
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
-
以下程序的运行结果是()。 include<stdio.h> define MIN(x,y) (x)<(y)? (x):(y)
-
include<stdio.h>main(); } 程序运行后的输出结果是
-
下列程序的运行结果是()。include<stdio.h>define ADD(x) x+x main{ int m=1,n=2,k=3;in
-
下列程序的运行结果是()。include<stdio.h>main(){int a=2,b=3,c=4; if(a<B)if(b<0) c=0; else c
-
下列程序的运行结果是()。 include<stdio.h>define ADD(x) x+xmain(){int m=1,n=2,k=3; int s=A
-
以下程序的运行结果为include"stdio.h"main(){int m,n; for(m=0,n=10;m<n;m+=3,n--); printf("%
-
有下列程序,程序运行后的输出结果是( )。 #include <stdio.h> int main() { int i,sum; for (i=1;i<6;i++) sum+=sum; printf("%d",sum); return 0; }
-
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
-
写出程序的运行结果的第二行输出: 。 include <stdio.h> int main() { int X[4][4]={{11,2
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
给出下面程序的运行结果。include<stdio.h>intmain();return0;}
-
运行程序输入hello↙和world↙,写出输出结果。 include <stdio.h>
-
有以下程序includ<stdio.h>main(){ int a;(int)(-1.53*3);printf("%"a);}程序的运行结果是()
-
有以下程序include ’stdio.h’min()} 程序的运行结果是3 B.5C.7 D.8
-
若输入I have a test.,则以下程序的运行结果为【 】。 include<stdio.h> main(); }
-
有以下程序 include<stdio.h> include<stdio.h> intfun()); } 程序的运行结果是10 B.20 C.0 D.出错
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
推荐题目
- 关于芝加哥期货交易所小麦期货合约,以下表述中,正确的有()。
- 下列关于主管技师职责描述不正确的是()。
- 心力衰竭诱发因素中一般最常见的为()
- 宣传教育工作的作用是:()
- 汉服从什么时代开始流传?
- 医护人员:病床数=1.64,是()
- 螺纹钢筋的直径是指它的()。
- 采用基准地块评估基准地价,是指根据条件划分均质区域,然后在均质地域内选定若干地块作为基准地块,依据农用地市场交易资料和投入产出资料评估基准地块价格,再将同一均质地域内基准地价的平均地价作为该均质地域的基准地价()。
- 40 Public lands can be used for energy development when_____.
- The universl historins give contrdictory replies to tht question, while the historinsThe universl historins give contrdictory replies to tht question, while the historins of culture ______ giving directnswer.evde B.miss C.shirk D.steer