【多选题】【消耗次数:1】
if(表达式){}这段代码在程序中的表达式可以出现的形式为()。
算术表达式
关系表达式
逻辑表达式
数值0或1
参考答案:
复制
纠错
相关题目
【单选题】 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)
【单选题】 表达式和表达式语句的区别是( )。
①  表达式的后面加一个分号就构成了表达式语句
②  表达式的后面加一个冒号就构成了表达式语句
③  表达式的后面加一个点就构成了表达式语句
④  表达式的后面加一个句号就构成了表达式语句
【判断题】 在ifthen结构中,条件可以是逻辑表达式或关系表达式。
①  正确
②  错误
【单选题】 C语言中,关系表达式和逻辑表达式是()。
①  0
②  0或1
③  1
④  ‘T’或’F’
【单选题】 逻辑表达式(x0 x=10)的相反表达式为?
①  x=0|| x=10
②  x=0 x=10
③  x=0 || x=10
④  x0 x10
【单选题】 在if语句中的表达式()。
①  只能是关系表达式
②  只能是关系表达式和逻辑表达式
③  只能是逻辑表达式
④  可以是任意表达式
【多选题】 Visual Foxpro中的表达式有( )。
①  算术表达式
②  字符表达式
③  关系表达式
④  逻辑表达式
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 表达式a*(b+c)-d的后缀表达式是( )。
①  abcd*+
②  -abc+*d
③  -abc*+d
④  --+*abcd
随机题目
【单选题】 We feel it is high time that the Government ____ something to check the inflation.
①  did
②  do
③  should do
④  would do
【单选题】 She was teaching me ____ you would teach a younger child to speak the language.
①  the way
②  in the way
③  a way
④  to the way
【单选题】 You should have put the milk into the icebox, I expect it ____ undrinkable.
①  became
②  had become
③  has become
④  becomes
【单选题】 The students expected there ____ more reviewing classes before the final exams.
①  is
②  being
③  have been
④  to be
【单选题】 You should have your eyes tested every year in case the ____of your spectacles need changing.
①  lenses
②  glasses
③  sights
④  crystals
【单选题】 As the train will not leave until one hour later, we ____ grab a bite at the snack bar.
①  may well
②  just as well
③  might as well
④  as well
【单选题】 ____ money, she is quite rich. However, this does not mean that she is happy.
①  Concerning
②  As to
③  In terms of
④  In the light of
【单选题】 She always put her medication on the top of the shelf lest the children ____ it by mistake.
①  took
②  should take
③  had taken
④  would take
【单选题】 Evidence came up ____ specific sounds are recognized by babies as young as six months old.
①  what
②  that
③  which
④  whose
【单选题】 There will be a new building here next year, _____ ?
①  will it
②  will there
③  be there
④  won’ t there