【单选题】【消耗次数:1】
已知 int x=30,y=50,z=80;以下语句执行后变量x、y、z的值分别为:。if (xy||xz)z=x; x=y; y=z;
x=50, y=80, z=80
x=80, y=30, z=50
x=30, y=50, z=80
x=50, y=30, z=30
参考答案:
复制
纠错
相关题目
【单选题】 已知if (xy||xz);z=x; x=y; y=z;int x=30,y=50,z=80;语句执行后变量x、y、z的值分别为:。
①  x=50, y=80, z=80
②  x=50, y=30, z=30
③  x=30, y=50, z=80
④  x=80, y=30, z=50
【单选题】 已知 int x=30,y=50,z=80;以下语句执行后变量x、y、z的值分别为:。if (xy||xz)z=x; x=y; y=z;
①  x=50, y=80, z=80
②  x=50, y=30, z=30
③  x=30, y=50, z=80
④  x=80, y=30, z=50
【单选题】 若已定义int x=-16,y=-12,z;语句z=x<=y;运行后z的值为()。
①  t
②  1
③  f
④  0
【单选题】 已知x=45,y'=a',z=0;则表达式(x>=z&&y'<z'||!y)的值是()。
①  0
②  语法错
③  1
④ 
【判断题】 公式“x$y(F(x, y) ù G(y, z)) ú $xH(x, y, z)”中的全称量词x的辖域为:$y(F(x, y) ù G(y, z)) 。
①  正确
②  错误
【单选题】 若w,x,y,z,m均为int型变量,则执行下面语句后的m值是:w=1;x=2;y=3;z=4;m=w<y)?w:x;m=m<y)?m:y;m=m<z)?m:Z;
①  1
②  2
③  3
④  4
【单选题】 下面程序的输出结果是() main( ) {int x=40,y=4,z=4; x=y==z; printf(%d,x); x=x==(y-z); printf(%d,x); }
①  40
②  41
③  11
④  10
【单选题】 有如下程序段,从键盘输入数据的正确形式应是( )。(注:?代表空格) int x,y,z; scanf(x=%d,y=%d,z=%d,x,y,
①  123
②  x=1, y=2, z=3
③  1, 2, 3
④  x=1?y=2?z=3
【单选题】 若w=1,x=2,y=3,z=4,则表达式w<x?w:y<z?y:z的值是()
①  4
②  3
③  2
④  1
【简答题】 分析下面程序main(){ int x=2,y,z;x*=3+2;printf(%d\nx*=y=z=4;printf(%d\nx=y=1;z=x++-1;printf(%d,%d\n,x,z);z+=-x++ +(++y);printf(%d,%d,x,z); }程序的输出结果是[填空1]。
随机题目
【单选题】 Currently,YueyangHospitalisnottheonlyorganization_____promotingYijingjing.
①  usedto
②  movedto
③  devotedto
④  turnedto
【单选题】 Youlookedforittwice,butyouhaventfounditWhynottry______?
①  threetimes
②  athirdtime
③  thirdtime
④  once
【单选题】 Darling,whyareyousoexcitedtoday?-___________________________________.
①  IhappenedtomeetafrienD.
②  Iamsohappy.
③  DoyouknowwhoImettoday?
④  Thebookisreallyinteresting.
【单选题】 Theoldmanlookedatmewithhismouthwideopen_____tosaysomethingtome.
①  whatif
②  evenif
③  onlyif
④  asif
【单选题】 -Canyoucomedownabit?-_____________.Theyareonsaletoday.
①  It’sarealbuyatthatprice.
②  Oh,comeon!
③  No,itisimpossible.
④  Please,helpme.
【单选题】 Sincemyfirstbookwaspublishedlastmonth,mytelephonehasn’tstoppedringing.Manyfriendsofmine_____toexpresstheircongratulationstome.
①  phone
②  willphone
③  werephone
④  arephoning
【单选题】 —YoucanseeMr.Smithifthereisasign“_____”onthedoorofhisshop.—Thanks.
①  ENTRANCE
②  BUSINESSHOURS
③  THISSIDEUP
④  NOSMOKING
【单选题】 Iwas______thedrawingandboughtit_____300yuan.
①  goodat,with
②  badat,on
③  interested,for
④  terrifiedof,at
【单选题】 Youdon’tknowaboutthedifficultyIhad______theworkthenatall.
①  done
②  todo
③  fordoing
④  indoing
【单选题】 --Ithinkyouarelostinthecity,_____?--Yes,IamwonderingwheretheGreatWallHotelis.
①  whatfor
②  ifso
③  needhelp
④  whynot