主页
学科
搜索
账户
常见问题
当前学科:高级语言程序设计
题目:
选择题
程序main(){int x=1, y=0, a=0, b=0;switch(x){case 1: switch(y) {case 0: a++;break; case 1: b++;break; } case 2: a++; b++; break;}printf("a=%d, b=%d\n",a,b); }的输出结果是( )。
A. a=2, b=1
B. a=2, b=2
C. a=1, b=0
D. a=1, b=1
答案:
<查看本题扣1积分>
查看答案
答案不对?请尝试站内搜索
推荐知识点:
If a pre-printed "Shipped on board" charter party bill of lading is presented, its issuance date will be deemed to be the date of shipment unless it bears an on board notation in which event the date of the on board notation will be deemed to be the date of shipment, if the on board is dated 20 Oct., the issuance date is 21 Oct. or 19 Oct., may we accept such on board date? (1)( ) Yes (2)( ) No
综合性安全检查由各单位负责人组织,由领导、管理人员和岗位工人三结合进行。
西方资本主义法治思想主要有哪些?
灰斗内设阻流板是为了防止()。
坐标图示法是以()的变化。
属于选择性门体分流术的是()
甲地位于40ºN、120ºE,乙地位于35ºS、150ºW,则甲地位于乙地的()
服务员最应该了解的是企业对自己的()要求。
以下何种情况会引起收入水平的上升?()
5岁男孩畏寒、发热、剧烈头痛、喷射性呕吐2天。体查:间有躁动不安,全身有散在性出血点。血压正常,对光反应好,瞳孔等大,颈硬,克、布氏征(+),病理征(-);诊断为流脑,应属于哪一型()