以下程序的运行结果是( )。 #include stdio.h void abc( char *p) { int i,j; for (i=j=0;*(p+i)!='\0';i++) if (*(p+i) < 'n') { *(p+j)=*(p+i); j++; } *(p+j)='\0'; } int main() { char str[]=moring
相似题目
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
有以下程序#include void main(){charstr[]={Hello,Beijing};printf(%d,%d\n,strlen(str),sizeof(str));}程序的运行结果是( )
-
有以下程序 #include struct st { int x, y;) data[2]={l,10,2,20}; main() { struct st *p=data; printf(%d,, p->y); printf(%d,(++p)->x); } 程序的运行结果是( )。
-
写出以下程序运行后的输出结果。 #includestdio.h #include string.h int main() { char st[20]={hello\0\t\\\}; printf(%d,%d\n,strlen(st),sizeof(st)); return 0; }
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
以下程序运行后的输出结果是#include#includeintmain(){charst[20]={hello\0\t\\\};printf(%d%d\n,strlen(st),sizeof(st));return0;}
-
#include struct st{ int x, y;} data[2]={l,10,2,20};main(){ struct st *p=data;printf(\%d,\, p->y);printf(\%d \,(++p)->x);}程序的运行结果是
-
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
-
以下程序的运行结果是_______。#include main(){struct st{int n;struct st *np;};struct st a[3],*p;a[0].n=7;a[0].np=&a[1];a[1].n=9;a[2].np=&a[2];a[2].n=11;a[0].np='\\0';p=&a[0];printf(\%d\\n\,++p->n);}
-
以下程序的运行结果是【 】。 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>main(){int x=20;prinff(“%d”,0<x<2
-
以下程序的运行结果是()。 include<stdio.h> define MIN(x,y) (x)<(y)? (x):(y)
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
若运行时给变量x输入12,则以下程序的运行结果是include <iostream.h>void main(){ int x,y; cin
-
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
以下程序的运行结果是________。 include int workover() { i=i<=2 5:0; return i; }
-
有以下程序 include<stdio.h>include<string.h>typedef struct stu { char name[10]; char gender; int score; } STU; void f(); } 程序的运行结果是
-
有以下程序:includ<stdio.h>include<string.h>main()chaa[10]="abcd";printf("%d,%",strlen(a),sizeof(a));}程序运行后的输出结果是()
-
有以下程序includ<stdio.h>main(){ int a;(int)(-1.53*3);printf("%"a);}程序的运行结果是()
-
有以下程序include ’stdio.h’min()} 程序的运行结果是3 B.5C.7 D.8
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
有以下程序 include<stdio.h> include<stdio.h> intfun()); } 程序的运行结果是10 B.20 C.0 D.出错
推荐题目
- BA2表内有所有相邻小区的BCCH频点,通过()下发给MS。
- 中国农业银行集中版理财产品销售系统是用以销售农业银行向公众发售的、具有集合资金性质的各类理财产品,包括()
- ()破坏前有明显的预兆,易及时发现和采取措施补救。
- 用于线源污染监测的布点方法是()
- 男性,54岁,类风湿关节炎(RA)病史5年,近2个月来感到双手指关节痛加重,晨僵约1小时,从未经过正规系统治疗。检查:双手第1、2掌指关节滑膜肥厚,右侧第2~4指近指关节肿胀,压痛明显,左侧第2、3指近指关节肿胀伴压痛,双手X线示双腕诸骨间隙消失并融合,双掌指、近指关节间隙明显狭窄。下列哪项最有利于判断此病人病情活动性()
- Sharpey纤维是指()。
- 在脱硫系统运行时,运行入员必须做好运行参数的记录,至少应每()h一次。
- 比较诗学的两种形态的差异取决于文学现象间有没有()。
- 《广告法》第三十八条规定:广告代言人不得为未使用过的商品或者未接受过的服务作推荐、证明。
- 【单选题】关于复凝聚法制备微型胶囊,下列叙述不正确的是()。