[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fhhZKMmRzO9iDlS8qf-JLe8hIT9YgtOJx1HoOcCqzFKg":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":28,"type":29},[],"2025-06-06 20:52:36",195523346,[8,9,10,11],"0","1","2","3",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},15,"18a6eff8ae3b8d06162b2c688af63fee","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F977c8441c4ad7ffe8d096a66aac1dd20.PNG","C语言程序设计","work_43932925","第四章","有如下程序 main() { int a=2,b=-1,c=2; if(a)c=2;else if(b&lt;0) c=0; else c++; printf(&quot;%d\\n&quot;,c); } 该程序的输出结果是( )",[21,30,39,48,54,63,71,79,88,91],{"answer":22,"createTime":5,"id":23,"options":24,"question":27,"source":28,"type":29},[],195523330,[25,26,8,9],"true","非零值","表达式:10!=9的值是( )","v1",0,{"answer":31,"createTime":5,"id":32,"options":33,"question":38,"source":28,"type":29},[],195523332,[34,35,36,37],"a&gt;=10 or a&lt;=0","a&gt;=0|a&lt;=10","a&gt;=10 &amp;&amp;a&lt;=0","a&gt;=10‖a&lt;=0","能正确表示逻辑关系:&quot;a&ge;10或a&le;0&quot;的C语言表达式是( )",{"answer":40,"createTime":5,"id":41,"options":42,"question":47,"source":28,"type":29},[],195523334,[43,44,45,46],"'a'&lt;=c&lt;= 'z'","(c&gt;= 'a')||(c&lt;= 'z')","('a'&lt;=c)and ('z'&gt;=c)","(c&gt;= 'a')&amp;&amp;(c&lt;= 'z')","若变量c为char类型,能正确判断出c为小写字母的表达式是( )",{"answer":49,"createTime":5,"id":50,"options":51,"question":53,"source":28,"type":29},[],195523336,[25,52,8,9],"false","有如下程序段 int a=14,b=15,x; char c='A'; x=(a&amp;&amp;b)&amp;&amp;(c&lt;'B'); 执行该程序段后,x的值为( )",{"answer":55,"createTime":5,"id":56,"options":57,"question":62,"source":28,"type":29},[],195523338,[58,59,60,61],"(x&lt;=y)&amp;&amp;(y&lt;=z)","(x&lt;=y)AND(y&lt;=z)","(x&lt;=y&lt;=z)","(x&lt;=y)&amp;(y&lt;=z)","表示数学上的关系x&lt;=y&lt;=z的C语言表达式为( )",{"answer":64,"createTime":5,"id":65,"options":66,"question":70,"source":28,"type":29},[],195523340,[11,67,68,69],"4","5","6","阅读以下程序:main() { int x; scanf(&quot;%d&quot;,&amp;x); if(x--&lt;5) printf(&quot;%d&quot;,x); else printf(&quot;%d&quot;,x++); } 程序运行后,如果从键盘上输入5,则输出结果是 ( )",{"answer":72,"createTime":5,"id":73,"options":74,"question":78,"source":28,"type":29},[],195523342,[75,76,77,9],"无输出","结果不确定","-1","语句:printf(&quot;%d&quot;,(a=2)&amp;&amp;(b= -2);的输出结果是( )",{"answer":80,"createTime":5,"id":81,"options":82,"question":87,"source":28,"type":29},[],195523344,[83,84,85,86],"0.000000","0.250000","0.500000","1.000000","有如下程序 main( ) { float x=2.0,y; if(x&lt;0.0) y=0.0; else if(x&lt;10.0) y=1.0\u002Fx; else y=1.0; printf(&quot;%f\\n&quot;,y); } 该程序的输出结果是( )",{"answer":89,"createTime":5,"id":6,"options":90,"question":19,"source":28,"type":29},[],[8,9,10,11],{"answer":92,"createTime":5,"id":93,"options":94,"question":99,"source":28,"type":29},[],195523348,[95,96,97,98],"CDE","C","CD","DE","下面输出的结果为( ). k=2;switch(k){ case 2: case 3:putchar('C'); case 4:putchar('D');break; default:putchar('E');}"]