【单选题】【消耗次数:1】
带有随机函数调用的表达式rand()%20的值在下列哪个区间内?
1~19
1~20
0~19
0~20
参考答案:
复制
纠错
相关题目
【单选题】 带有随机函数的表达式rand()%20的值在( )区间内。
①  1~19
②  1~20
③  0~19
④  0~20
【单选题】 带有随机函数的表达式rand()%20的值在( )区间内。
①  1~19
②  1~20
③  0~19
④  0~20
【单选题】 随机函数rand()%20的值在整数( )区间内。
①  1和20
②  1和19
③  0和19
④  0和20
【单选题】 随机函数rand()%20的值在整数( )区间内。
①  1和20
②  1和19
③  0和19
④  0和20
【单选题】 表达式(12==0) && (1/0 < 1)的值为( ) 。
①  true
②  false
③  0
④  运行时抛出异常
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【判断题】 表达式day( {^2018/9/19})的值为19
①  正确
②  错误
【判断题】 表达式MONTH( {^2018/9/19})的值为19
①  正确
②  错误
【单选题】 已知:inti;fori=0;i<=10;i++);如果表达式1即i=0缺省那么完成表达式1功能的语句可以)
①  放在for语句的前面
②  放在循环体中
③  放在for语句的后面
④  放在程序的任何地方
【判断题】 作为表达式的函数调用,被调用函数必须有返回值。
①  正确
②  错误
随机题目
【单选题】 ___the rain ,he went on working in the garden.
①  In addition to
②  In spite of
③  Except for
【单选题】 A: What did the man say to you?B: Oh , he asked me ___ a cigarette.
①  with
②  to
③  for
【单选题】 A: Where is Shanghai?B: It is ___ the east of China.
①  on
②  in
③  from
【单选题】 This idea hit me when I _____this morning.
①  awoke up
②  woke
③  woke up
④  awake
【单选题】 I try to___ swimming at least once a week.
①  do
②  play
③  go
【单选题】 -May I help you?-___. Do you have any apple juice?
①  Sure
②  Thank you
③  No, thanks
④  I don’t think so
【单选题】 Xi an is only a 5-hour journey __ Beijing by the express train.
①  away
②  in
③  from
【单选题】 Hes very proud,___ everyone in the class doesnt like him.
①  because
②  if
③  so
【单选题】 The new suitcase___you got yesterday is full already.
①  where
②  which
③  in which
【单选题】 I was watching TV ______ the telephone rang.
①  while
②  when
③  since
④  as