【单选题】【消耗次数:1】
设x是一个bool型的逻辑量,y的值为10,则表达式 x && y的值为()。
1
0
与x值相同
与x值相反
参考答案:
复制
纠错
相关题目
【单选题】 设x是一个bool型的逻辑量,y的值为10,则表达式 x y的值为()
①  1
②  0
③  与x值相同
④  与x值相反
【单选题】 设x是一个bool型的逻辑量,y的值为10,则表达式 x y的值为()。
①  1
②  0
③  与x值相同
④  与x值相反
【单选题】 设x是一个bool型的逻辑量,y的值为10,则表达式 x && y的值为(????)
①  1
②  0
③  与x值相同
④  与x值相反
【单选题】 若x=5,y=10,则计算y*=++x表达式后,y的值为( )。
①  50
②  40
③  60
④  55
【单选题】 若x=5,y=10,则计算y*=++x表达式后,y的值为( )。
①  50
②  40
③  60
④  55
【单选题】 已知x=10,ch=’A’,y=0;,则表达式“x>=y&&ch<’B’&&!y”的值是()。
①  0
②  1
③ 
④ 
【单选题】 假设x为一个逻辑型变量,则表达式x!x 和x||!x的值分别是?
①  0 0
②  0 1
③  1 0
④  1 1
【单选题】 若x=5,y=10,则计算y*=++x表达式后,y的值是?
①  40
②  50
③  55
④  60
【单选题】 设 x = 1 , y = 2 , z = 3,则表达式 y+=z--/++x 的值是( )。
①  3
②  3. 5
③  4
④  5
【单选题】 已知x=45,y'=a',z=0;则表达式(x>=z&&y'<z'||!y)的值是()。
①  0
②  语法错
③  1
④ 
随机题目
【单选题】 I should think they have done it ________, to avoid paying you the money.
①  with purpose
②  on purpose
③  in purpose
④  to purpose
【单选题】 It is a huge task to ______ all the rooms in the building in such a short time.
①  go ahead with
②  keep up
③  clean up
④  work out
【单选题】 It is common knowledge that dogs have a _______ sense of smell.
①  thoughtful
②  slim
③  keen
④  absorbed
【单选题】 The old lady was _______ to the young man who helped her find her lost generation.
①  touched
②  cheerful
③  gratefu
④  generous
【单选题】 Helen lacks ______ . I’ve never known anyone so unsure of herself.
①  character
②  balance
③  approach
④  confidence
【单选题】 Don’t hesitate ______ for help if you have any problem meeting the schedule.
①  to ask
②  asked
③  asking
④  to be asked
【单选题】 Read the book carefully __________ you’ll find lots of information related to our research.
①  if
②  and
③  so
④  or
【单选题】 Our manager is so __________ in his thinking, he never listens to new ideas.
①  rigid
②  tedious
③  boring
④  vivid
【单选题】 Parts of my childhood are so _________ to me that they could be memories of yesterday.
①  prim
②  vivid
③  boring
④  tedious
【单选题】 _______ hard work, you don’t have much chance of success.
①  After
②  Without
③  With
④  Before