【简答题】【消耗次数:1】
下列程序的输出结果是[填空1]。#includestdio.hmain(){ char a;a=0printf(%d%c,a,a); }
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【简答题】 下列程序的输出结果是[填空1]。#includestdio.hmain(){ char a;a=Aprintf(%d%c,a,a); }
【单选题】 下面程序的运行结果是()#includestdio.hmain(){intnum=0;while(num=2){num++;printf(“%d,num);}}
①  1
②  12
③  123
④  1234
【单选题】 有以下程序#includestdio.hmain(){ int a=1,b=0;if(--a) else if(a==0) b+=2;else b+=3;printf(“%d\n”,b); }程序运行后的输出结果是(  )。
①  0
②  1
③  2
④  3
【单选题】 有以下程序#includestdio.hmain(){ int a=1,b=0;if(--a) else if(a==0) b+=2;else b+=3;printf(“%d\n”,b); }程序运行后的输出结果是。
①  0
②  1
③  2
④  3
【单选题】 巳知字母A的ASCII码是65,以下程序的执行结果是()#includestdio.hmain(){charc1=A,c2=Y;printf("%d,%d\n",c1,c2);
①  A,Y
②  65,65
③  65,90
④  65,89
【简答题】 下面程序段的运行结果是[填空1]。char c[5]={a,b,\0,c,\0};printf(%s,c);
【简答题】 有以下程序(说明:字符0的ASCII码值为48)#includestdio.hmain(){ char c1,c2;scanf(%d,c2=c1+9;printf(%c%c\n,c1,c2); }若程序运行时从键盘输入48回车,则输出结果为[填空1]。
【单选题】 main(){char a[]=Money;printf(%c,a[0]);}执行上面的程序段后,输出结果是()。
①  M
②  Money
③  m
④  Mon
【简答题】 有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入12回车,则输出结果为[填空1]。
【简答题】 有以下程序#includestdio.hmain(){ int x;scanf(%d,if(x15) printf(%d,x-5);if(x10) printf(%dif(x5) printf(%d\n,x+5); }若程序运行时从键盘输入7回车,则输出结果为[填空1]。
随机题目
【单选题】 A camera takes light rays bounced off objects and____ them on a sheet of a film.
①  concentrates
②  mixes
③  combines
④  focuses
【单选题】 It has been proposed that we ____ our decision until the next meeting.
①  delayed
②  delay
③  can delay
④  are to delay
【单选题】 By the middle of the 21st century, the vast majority of the world’s population ____ in cities rather than in the country.
①  are living
②  will be living
③  have lived
④  will have lived
【单选题】 Mary tiptoed over and took the clock away because she hated to hear it ____ when she was trying to go to sleep.
①  sounding
②  ringing
③  ticking
④  humming
【单选题】 Under this ____ pressure some of the rocks even became liquid.
①  intensive
②  weighty
③  intense
④  bulky
【单选题】 The patient was fully ____ during the operation.
①  liberal
②  sensible
③  aware
④  conscious
【单选题】 He might have been killed ____ the timely arrival of the ambulance.
①  but for
②  except for
③  besides
④  except
【单选题】 You must be careful when ___ on the highway.
①  you driving
②  are driving
③  driving
④  you were driving
【单选题】 — We have to stop talking here. Listen, _____! —Hurry up, or we’ ll be late.
①  There goes the bell
②  There does the bell go
③  There the bell goes
④  Goes the bell there
【单选题】 Even if his letter ____ tomorrow, it ____ too late to do anything.
①  will arrive...is
②  should arrive...were
③  arrives...will be
④  arrives...would be