首页/ 题库 / [单选题]若有以下定义:

float x的答案

若有以下定义:

float x;  int a,b;  则正确的switch 语句是(  )。

单选题
2022-04-01 19:35
A、switch(x)</p><p>{ case1.0: printf(&quot;*\n&quot;);</p><p>case2.0: printf(&quot;**\n&quot;);</p><p>}</p><p></p>
B、&nbsp;switch(x)</p><p>{ case1, 2: printf(&quot;*\n&quot;);</p><p>&nbsp;case3: printf(&quot;**\n&quot;);</p><p>}</p><p></p>
C、switch (a+b)</p><p>{ case 1: printf(&quot;\n&quot;);</p><p>&nbsp;case 1+2: printf(&quot;**\n&quot;);</p><p>}</p><p></p>
D、switch (a+b);</p><p>&nbsp;{ case 1: printf(&quot;*\n&quot;);</p><p>&nbsp; case 2: printf(&quot;**\n&quot;);</p><p>&nbsp;}</p><p></p>
查看答案

正确答案
C

试题解析

感兴趣题目
The () is used for hauling in or letting out the wires or ropes.
Vessels must be()valid certificate of nationality or certificated of registry or license.
When loading or discharging dry mud or cement,crew members should use goggles and().
Effects which are dutiable or subject to prohibitions or restrictions should be declared in ().
()are liable to be stoten, pilfered or may damaged due to improper handing or stowage.
Banks have no liability for any delay or loss caused by postal or telex failure.
逻辑运算符(AND、NOT、OR)的运算顺序是AND→OR→NOT。
《专业技术人员继续教育规定》指出继续教育内容包括()、()。

专业技术人员继续教育的主要任务是():
1、创新继续教育运行机制;
2、转变以做人为中心的教育思想;
3、强化继续教育管理机制;
4、完善继续教育教学体系;
5、完善继续教育法规体系。

按照《重庆市专业技术人员继续教育条例》、《<重庆市专业技术人员继续教育条例>实施办法》(渝府发[2006]17号)有关规定,专业技术人员任现职期间平均每年参加继续教育公需科目学习不得少于()个学时。
注册消防工程师应当通过继续教育不断更新、补充、拓展知识和技能,完善知识结构,提高综合素质和专业技术水平。根据《注册消防工程师继续教育实施办法》,下列说法中错误的是(    )。
逻辑运算符(AND、NOT、OR)的运算顺序是AND→OR→NOT。
相关题目
boost的意思是:help or encourage to increase or improve
eloquent的意思是:fluent or persuasive in speaking or writing

A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.

Mainly east 3 or 4 partly cloudy to overcast occasional rain()slowly south moderate or good.
()any case or suspected case of quarantinable disease,or any case of eruptive disease or any death be discovered,the local quarantine officer must be notified immediately.
Should any case or suspected case of quarantinable disease,or any case of eruptive disease or any death be discovered,the local Quarantine Officer must be()immediately.
已知A=40;B=30;C=100;D=50,逻辑“与”运算符为and,“或”运算符为or,“非”运算符为not。计算表达式(A>B+20)or(B+60<>
Masters are()solely responsible for all damages or accidents of whatever kind resulting from the navigating or handling of their vessels by day or by night.
系统中雷达状态包括Unknown、Operational(or ON)、Failed(or OFF)、Detached。
The carrier is liable for loss of or damage to the goods or delay in delivery caused by fire,()the claimant proves that the fire arose from fault or neglect on the part of the carrier,his servants or agents.
Shutdown price(or point,or rule) 停业价格(或停业点、停业原则)
翻译:With Average or With Particular Average(WA or WPA)()
华东理工大学网络教育实行的是弹性学制,高起专和专升本两种层次的学习年限均是()
读网络教育学院非英语专业和非艺术类专业专升本的学生报考统考,除计算机应用基础外,还需报考()
()shall be liable for loss of and damage to the Vessel and/or goods arising or resulting from inaccuracies in stating the description,quantity,weight,measurement or contents.
《专业技术人才知识更新工程实施方案》中明确规定:加强继续教育与专业技术人才使用政策的贯通。参加“工程”培养培训和学习情况作为个人专业技术经历和接受继续教育的重要记载。完善继续教育与()等人事管理制度的衔接
《专业技术人才知识更新工程实施方案》中明确规定:加强继续教育与专业技术人才使用政策的贯通。参加“工程”培养培训和学习情况作为个人专业技术经历和接受继续教育的重要记载。完善继续教育与()等人事管理制度的衔接。
Every deliberate act of wrongdoing by the master or any of the crew against the ship or cargo,without the authorization or privity of the Shipowner or his agent,is().
(), or drum is used for hauling in or letting out the wires or ropes which will fasten the ship to the shore.
A salvor may be()the whole or part of the payment due under Salvage Convention to the extent that the salvage operations have become necessary or more difficult because of fault or neglect on his part or if the salvor has been guilty of fraud or other dishonest conduct.
广告位招租WX:84302438

免费的网站请分享给朋友吧