以下程序的输出结果是()。 main {char str[]1-10]={"china","beijing"),*p=str; printf("%s\n",p
相似题目
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
以下程序的输出结果为( )。int main(){char s[]=123,*p;p=s;printf(%c%c%c\n,*p,*++p,*++p);}
-
以下程序的输出结果是 ______ 。 void ss(char *s,char t) { while(*s) { if(*s==t) *s=t- ' a ' + ' A ' ; s++; } } void main() { char str [100]=abcddfefdbd,c= ' d ' ; ss(str,c); printf(%s,str); }
-
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
-
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
-
有以下程序#includevoid fun(char*s){while(*s){ if(*s%2==0)printf(“%c”,*s);s++;}}main(){ chara[]={“good”};fun(a);printf(“ ”);}注意:字母a的ASCⅡ码值为97,程序运行后的输出结果是
-
有以下程序 #include main() {char *s=(“ABC”); do {printf(“%d”,*s%10);s++; }while(*s); } 注意,字母 A的ASCII码值为65。程序运行后的输出结果是
-
有以下程序:#include#includevoid main(){ char str[][10]={'oneWorld','oneDream!'};printf('%d,',strlen(str[1]));printf('%s ',str[1]);}程序运行后的输出结果是______。
-
以下程序的输出结果是( )。main(){ char *s=\12134211
-
有以下程序: include <stdlib.h> main() { char *p,*q; p=(char*)malloc(sizeof(char)*20); q=p; scanf("%s%s",p,q); ptintf("%s%s\n",p,q); } 若从键盘输入abc def<回车>,则输出的结果是()。
-
有以下程序main(){ char s[ ]"Yes\n/No",*ps=s;puts(ps+4);*(ps+4)=0;puts(s);}程序运行后的输出结果是(选项D中的第一行是空行)
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序 include<stdlib.h> main() { char*p,*q; p=(char *)malloc(sizeof(char)*20);q=p; scanf(“%s%s”,p,q);printf(“%s%s\n”,p,q); } 若从键盘输入:abc def<回车>,则输出结果是
-
有以下程序 main() { char str[][10]={"China","Beijing"},*p=str; printf("%s\n",p+10); } 程序运行后的输出结果是
-
以下程序的输出结果是()。main(){char s[]="123",*p;p=s;printf("%c%c%c\n",*p++,*p++,*p++);}
-
有以下程序: void ss(char *s,char t) {while(*s) { if(*s==t) *s=t-'a'+'A'; s++; } } main() { char str1[100]="abcddfefdbd",c='d'; ss(str1,c); printf("%s\n",str1); } 程序运行后的输出结果是()。
-
有以下程序void ss(char *s,char t){ while(*s){ if(*s==t)*s=t-′a′+′A′;s++; } }main(){ char str1[100]="abcddfefdbd",c=′d′;ss(str1,c); printf("%s\n",str1);}程序运行后的输出结果是
-
有以下程序main(){char *s="abcde"; s+=2; printf("%ld\n",s);}程序运行后的输出结果是()A.cdeB
-
以下程序的输出结果是______。main(){char str[12]={'s','t','r','i','n','g'}; printf("%d/n",st
-
以下程序的输出结果是______。 main() { union { int i[2]; long j; char m[4]; }r,*s=&r; s-
-
有以下程序includechar *a="GOODNEWYEAR";char b[ ]="goodnewyear";main(){ int i=0;printf("%c%s\ln",*a,b+7);}执行后的输出结果是()。
-
有以下程序 void ss(char *s,char t) { while(*s) { if(*s==t)*s=t-'a'+'A'; s++; } } main() {char strl[100]=“abcddfefdbd”,c=‘d’; ss(strl,c);printf(“%s\n”,strl); } 程序运行后的输出结果是
-
以下程序运行后的输出结果是______。 ss(char*s) { char*p=s; while(*p)p++; return(p-s); } main
-
以下程序main(){chars1[20]=“abc”,s2[20]=“123”;if(strcmp(s1,s2)>0)printf(“%s\n”,s1);elseprintf(“%s\n”,s2);}的输出结果是()
推荐题目
- 关于金融,以下说法为错误的是()。
- 梯子上有人时,()。
- 破伤风治疗中大剂量青霉素可以直接杀死破伤风梭菌。
- 高频阻波器由()及部分组成。
- 可供长时间反复使用,并在其使用过程中基本不改变其原有实物形态的生产资料和其他物质资料的是()。
- 更换电流互感器的原则()
- 不是孕激素生理作用的是()
- 镜下观察动脉粥样硬化的粥样斑块可见()
- 某储罐内航空煤油调合后经化验全分析显示,其电导率指示为40Ps/M,其他质量指标符合要求。该储罐航空煤油需采取()等措施确认合格后可作为合格产品出厂。
- 五年前,活泼开朗的小林带着满腔热情和憧憬,来到了一家老年福利机构,担任社会44者。每天重复着几乎不变的工作,应对着琐碎繁杂的需求,随着时间的推移,小林日益倦怠,热情降低。机构主管为激励小林,决定对其工作予以调整。下列内容属于“工作再设计”的是()