【单选题】【消耗次数:1】
对于双精度类型的变量a和b,请问逗号表达式“(a=1.0,b=1.0E-16,a+b>a)”的结果是()。
不确定
1.0
1
0
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 设a,b和c都是int型变量,且a=3,b=4,c=5,则下面表达式中,值为0的表达式是( )
①  ’a’’b’
②  a=b
③  a||b+cb-c
④  !((a
⑤  !c||1)
【单选题】 下列表达式的结果是()a=3*5,a=b=3*2
①  15
②  5
③  6
④  3
【单选题】 请阅读以下程序#includemain){floata,bscanf%f,ifa<10.0)b=1.0/x;elseifa<0.5)&&a!=2.0))b=1.0/a十2.0);elseifa<10.0)b=1.0/x;elseb=10.0;printf%f\n,y);}若运行时输入2.0回车),则上面程序的输出结果是:
①  0.000000
②  0.500000
③  1.000000
④  0.250000
【单选题】 若有定义:int a=3,b=2,c=1;并有表达式:①a%b,②a>b>c,③b&&c+1,④c+=1,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
【单选题】 XPath路径表达式“/A/B/C[position()1]”的匹配结果为()。
①  根元素A下所有名称为B的子元素下所有名称为C的子元素节点集合中的第二个及以后的元素
②  以子路径“元素A-元素B-元素C”结尾的节点集合中的第二个及以后的元素
③  根元素A下所有名称为B的子元素下所有名称为C的子元素
④  以子路径“元素A-元素B-元素C”结尾的节点集合
【单选题】 设intx=10,a=0,b=25;,条件表达式x1?a+10︰b的值是(   )
①  0
②  1
③  10
④  25
【单选题】 若变量已正确定义,和语句“if(a&gt;b)k=0;else k=1;”等价的是()
①  k=(a;b)?1:0;
②  k=a;b;
③  k=a;=b;
④  a;=b?0:1;
【单选题】 已知inta=4,b=5;,这执行表达式a=a>b后,变量a的值为()
①  0
②  1
③  4
④  5
【单选题】 假设所有变量均为整型,则表达式(a=2,b=5,b++,a+b)的值是( )。
①  7
②  8
③  6
④  2
【单选题】 设a=1,b=2,c=3,d=4,则表达式:a>b?a:c>d?a:d的结果为()
①  4
②  3
③  2
④  1
随机题目
【单选题】 Comrade Li Dazhao,___ librarian of Beijing University, was one of the founders of the Chinese Communist Party.
①  sometimes
②  sometime
③  some times
④  some time
【单选题】 At first Bob was puzzled by Virginia s waving, but then it __ his mind that she was trying to tell him something.
①  crossed
②  passed
③  occurred
④  opened
【单选题】 If there were no subjunctive mood, English ___ much easier.
①  will be
②  would have been
③  could have been
④  would be
【单选题】 The open university was started in order to help those who ___ having a university education when they were young.
①  stopped
②  failed
③  missed
④  ceased
【单选题】 If it ___ next week, the crops would be saved.
①  rains
②  will rains
③  would rain
④  should rain
【判断题】 This material is worn well.
①  正确
②  错误
【判断题】 What a good news theyve got. No wonder they are so happy.
①  正确
②  错误
【判断题】 She had her finger cut when she is paper-cutting.
①  正确
②  错误
【判断题】 Plastics has taken the place of many other materials.
①  正确
②  错误
【判断题】 I opened the letter and it contained important informations.
①  正确
②  错误