[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fLpsWJyQMryKX9ZiS22l94sb1Od2adMSxkdMK0YupUV8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2023-06-05 13:52:25",47083922,[8,9,10,11],"语法错","&quot;假&quot;","0","1",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},36,"87655d278478862060ec4c74c07ba7dc","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Fd7215a6f9b18cc01f824b38b31b8c383.jpg","C语言程序设计(2023年春季)","work_25795223","5.选择结构","已知x=43,ch='A',y=0;则表达式(x &gt; = y&amp;&amp;ch &lt; 'B'&amp;&amp;!y)的值是",[21,26,34,43,52,61,68,77,86,91],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":33,"source":24,"type":25},[],47083923,[30,31,32,11],"4","3","2","设有:int a=1,b=2,c=3,d=4,m=2,n=2; 执行 (m=a &gt; b)&amp;&amp;(n=c &gt; d)后n的值是",{"answer":35,"createTime":5,"id":36,"options":37,"question":42,"source":24,"type":25},[],47083924,[38,39,40,41],"a &lt; b &lt; 0","a=0 &lt; b","a=b &lt; 0","0 &gt; a &gt; b","t=5; else t=2*s; printf(&quot;t=%d\\n&quot;,t); }",{"answer":44,"createTime":5,"id":45,"options":46,"question":51,"source":24,"type":25},[],47083925,[47,48,49,50],"if(a &gt; b &gt; c) temp=a","if((a=b) &gt; 0) temp=a","int a=b=c=4","int a;scanf(%d,a)","下列语句正确的是( )",{"answer":53,"createTime":5,"id":54,"options":55,"question":60,"source":24,"type":25},[],47083926,[56,57,58,59],"switch(a); { case 1 printf(&quot;*\\n&quot;); case 2 printf(&quot;**\\n&quot;);}","switch(b) { case a: printf(&quot;*\\n&quot;); default: printf(&quot;\\n&quot;); case b: printf(&quot;**\\n&quot;);}","switch(w){case1.0: printf(&quot;*\\n&quot;); case2.0: printf(&quot;**\\n&quot;); }","switch(a+b){ case 1: printf(&quot;*\\n&quot;); case 2: printf(&quot;**\\n&quot;); default: printf(&quot;\\n&quot;); }","若有定义: float w; int a, b; 则合法的switch语句是",{"answer":62,"createTime":5,"id":63,"options":64,"question":67,"source":24,"type":25},[],47083927,[65,32,11,66],"41","331","printf(&quot;%d&quot;,++z); else printf(&quot;%d&quot;,++y); printf(&quot;%d\\n&quot;,x++); } 程序的运行结果是________",{"answer":69,"createTime":5,"id":70,"options":71,"question":76,"source":24,"type":25},[],47083928,[72,73,74,75],"l,3,3","1,3,2","3,2,1","1,2,3","printf(&quot;%d,%d,%d\\n&quot;,a,b,c); else printf(&quot;%d,%d,%d\\n&quot;,a,b,c); else printf(&quot;%d,%d,%d\\n&quot;,a,b,c); } 程序运行后的输出结果是________",{"answer":78,"createTime":5,"id":79,"options":80,"question":85,"source":24,"type":25},[],47083929,[81,82,83,84],"0.250000","0.500000","0.000000","1.000000","y=1.0\u002Fx; else y=10.0; printf(&quot;%f\\n&quot;,y); } 若运行时从键盘上输入2.0(表示回车),则上面程序的输出结果是",{"answer":87,"createTime":5,"id":88,"options":89,"question":90,"source":24,"type":25},[],47083930,[11,31,10,32],"c=0; else c++ ; printf(&quot;%d\\n&quot;,c); } 该程序的输出结果是",{"answer":92,"createTime":5,"id":93,"options":94,"question":99,"source":24,"type":25},[],47083931,[95,96,97,98],"在其之前未配对的if","缩排位置相同的if","在同一行上的if","其上面距它最近的,并且没有其他else与其配对的if相配对","为避免嵌套的条件分支语句if&hellip;else的二义性,C语言规定,C程序中的 else总是与()组成配对关系"]