[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$flHfOtCiPo79kVz5rZwZt0JMhEiBYLKg3iHfwIlcGmEE":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":100,"createTime":26},145954723,"v1","已定义变量int x=4,y=2,max=0,执行C语句if (x\u003Cy) max=x++; else max=--y;后,max 的值是( )",[8,9,10,11],"0","1","2","3",[],[14,27,33,43,47,57,67,73,83,90],{"id":15,"source":5,"question":16,"options":17,"answer":22,"related":23,"type":24,"origin":25,"createTime":26},145954720,"能正确表示a和b同时为正或同时为负的逻辑表达式是( )",[18,19,20,21],"&&(a\u003C0‖b\u003C0)","&&(a\u003C0&&b\u003C0)","&&(ab\u003C=0)","a*b>0",[],[],0,null,"2024-05-25T13:10:30+08:00",{"id":28,"source":5,"question":29,"options":30,"answer":31,"related":32,"type":24,"origin":25,"createTime":26},145954721,"已定义变量int x=2,y=4,max=0,执行C语句if (x\u003Cy) max=x++; else max=y--;后,max 的值是( )",[8,9,10,11],[],[],{"id":34,"source":5,"question":35,"options":36,"answer":41,"related":42,"type":24,"origin":25,"createTime":26},145954722,"已知a=4,b=5,执行C语句if (a\u003Cb) {a=b;b=a;}后,a、b 的值分别是( )",[37,38,39,40],"4,4","5,4","5,5","4,5",[],[],{"id":4,"source":5,"question":6,"options":44,"answer":45,"related":46,"type":24,"origin":25,"createTime":26},[8,9,10,11],[],[],{"id":48,"source":5,"question":49,"options":50,"answer":55,"related":56,"type":24,"origin":25,"createTime":26},145954724,"if语句的基本形式是:if(表达式)语句,以下关于\"表达式\"值的叙述中正确的是( )",[51,52,53,54],"必须是逻辑值","必须是整数值","必须是正数","可以是任意合法的数值",[],[],{"id":58,"source":5,"question":59,"options":60,"answer":65,"related":66,"type":24,"origin":25,"createTime":26},145954725,"已定义变量x = 2,y = 4,执行C语句if ((x>y)&&(y>0)) printf(\"x=%d\",x++); else printf(\"y=%d\",y--); 后,输出的结果为( )",[61,62,63,64],"x=2","x=3","y=3","y=4",[],[],{"id":68,"source":5,"question":69,"options":70,"answer":71,"related":72,"type":24,"origin":25,"createTime":26},145954726,"已知a = 4,b = 5,执行C语句 if (a\u003Cb) { a+= b; b=a-b; a-= b; }后,a、b的值分别是( )",[39,38,40,37],[],[],{"id":74,"source":5,"question":75,"options":76,"answer":81,"related":82,"type":24,"origin":25,"createTime":26},145954727,"已定义变量a= 2,b= 4,执行C语句if (a>b||b>0) printf(\" a=%d\",a++); else printf(\" b=%d\",b--); 后,输出的结果为( )",[77,78,79,80],"a=1","a=2","b=3","b=4",[],[],{"id":84,"source":5,"question":85,"options":86,"answer":88,"related":89,"type":24,"origin":25,"createTime":26},145954728,"已定义变量a=2,b=4,执行C语句if (a=3) printf(\"%d\",a++); else printf(\" %d\",b-- ); 后,输出的结果为( )",[9,10,11,87],"4",[],[],{"id":91,"source":5,"question":92,"options":93,"answer":98,"related":99,"type":24,"origin":25,"createTime":26},145954729,"已知a=-4,b=-5,执行C语句 if (a\u003Cb) {if (a>0) c=a; else c=b;}else {if (b\u003C0) c=a++; else c=--b;}后,c的值是( )",[94,95,96,97],"-3","-6","-5","-4",[],[],{"courseName":101,"courseImg":102,"workName":103,"workId":104,"count":105,"courseId":106},"C语言程序设计","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F703d6aff04a24ebbb83052f286cdaf74.jpg","第4章作业","work_35142284",46,"2bb2478ebeb57bd662a3a9eaaab532bf"]