下列程序的运行结果为()。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);}
![](/upload/20220827/c85071da6ff0aadc10ebce6c25bb4f0d.png)
相似题目
-
有以下程序#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 ++ ; } }
推荐题目
- 男,53岁,便秘、血便,大便变细,CT检查如图,最可能的诊断是()https://assets.asklib.com/psource/2015111314320460432.jpg
- 下列哪些是张从正选用的下法方剂()
- 清营汤的功效是()
- 调查医院感染暴发流行的基本原则和主要手段是()
- 在全球疾病负担中排首位的精神障碍是()
- 银行端为B2B商户开通交易后,在商户服务系统中的商户状态为()。
- 自由面如何解释?
- 张某是某公司车间工人,在工作中受伤并被确认为工伤。对此,下列说法错误的有()
- 水面比降数值等于上、下比降断面观测水位的差值除以上、下比降断面的(),并以万分率表示。
- 内镜采用化学消毒(灭菌)剂进行消毒或者灭菌时,下列哪些要求不正确()