【单选题】【消耗次数:1】
在“while(!a)”中,其中“!a”与表达式()等价。
a==0
a==1
a!=1
a!=0
参考答案:
复制
纠错
相关题目
【单选题】 表达式(12==0) && (1/0 < 1)的值为( ) 。
①  true
②  false
③  0
④  运行时抛出异常
【判断题】 “与非”门逻辑表达式为:见0得1,全1得0。
①  正确
②  错误
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 已知:inti;fori=0;i<=10;i++);如果表达式1即i=0缺省那么完成表达式1功能的语句可以)
①  放在for语句的前面
②  放在循环体中
③  放在for语句的后面
④  放在程序的任何地方
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
【单选题】 逻辑表达式(x0 x=10)的相反表达式为?
①  x=0|| x=10
②  x=0 x=10
③  x=0 || x=10
④  x0 x10
【单选题】 与结构成员访问表达式p-name等价的表达式是( )。
①  p.name
②  (*p).name
③  *p.name
④  *(p-name)
【单选题】 与结构成员访问表达式p->name等价的表达式是( )。
①  p.name
②  (*p).name
③  *p.name
④  *(p->name)
【单选题】 设intx=10,a=0,b=25;,条件表达式x1?a+10︰b的值是(   )
①  0
②  1
③  10
④  25
随机题目
【单选题】 Asfortheinfluenceofcomputerization,_____haveweseentheresultsmoreclearlythanintheUnitedStates.
①  anywhere
②  nowhere
③  somewhere
④  everywhere
【单选题】 --Ifhe_____thatthemushroomwaspoisonous,he_____it.--Luckilyhewassenttothehospitalimmediately.
①  waswarned,wouldnoteat
②  hadbeenwarned,wouldnothaveeaten
③  wouldbewarned,hadnoteaten
④  wouldhavebeenwarned,hadnoteaten
【单选题】 Themanhasaspecialtalentforartandis    ofamusician.
①  anybody
②  anything
③  somebody
④  something
【单选题】 Equippedwithmodernfacilities,today’slibrariesdiffergreatlyfrom______.
①  thoseofthepast
②  thepast
③  whichofthepast
④  thesepast
【单选题】 Cotton_____inthesoutheastofChina.
①  isgrown
②  aregrown
③  grows
④  grow
【单选题】 Chineseisoneoftheofficiallanguages____attheUNmeetings
①  use
②  isused
③  using
④  used
【单选题】 Theplanfinally____justbecausemanypeopleintheareawereunwillingtocooperatewiththegovernment.
①  brokedown
②  pulleddown
③  turneddown
④  putdown
【单选题】 Itiswellknownthatteachingisajob,    enoughpatience.
①  callingon
②  callingoff
③  callingfor
④  callingin
【单选题】 Hardly_____whenthebussuddenlypulledaway
①  theyhadgottothebusstop
②  theygottothebusstop
③  didtheygettothestop
④  hadtheygottothestop
【单选题】 —Couldyouaskhimtocallme,please?______!Whatsyourname,please?
①  Sure
②  Oh
③  Yes
④  Well