[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fqIlXQcyCsQg9AD41baR-6Oh41nNC8NeU3-iu6U2crI8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":16,"related":17,"source":21,"type":22},[],"2023-12-03 15:21:25",110489541,[8,9,10,11],"x[10]= &quot;Hello! &quot;","x=&quot;Hello! &quot;","x[]=&quot;Hello! &quot;","for(i=0; i&lt;6; i++) x[i]=getchar()",{"courseId":13,"courseImg":14,"courseName":15},"b1afca73772e77861efb04c34e00aa74","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Fc15d9a9e79f9d31127b1aa54091699f6.jpg","高级语言程序设计","已定义&quot;int i; char x[10];&quot;,为了给x数组赋值,以下正确的语句是( )",[18,23,32,41,50,59,69,78,87,96],{"answer":19,"createTime":5,"id":6,"options":20,"question":16,"source":21,"type":22},[],[8,9,10,11],"v1",0,{"answer":24,"createTime":5,"id":25,"options":26,"question":31,"source":21,"type":22},[],110489543,[27,28,29,30],"a数组和b数组长度相同","a数组长度大于b数组长度","a数组长度小于b数组长度","两个数组中存放相同的内容","若有以下的数组定义:&quot;char a[ ]=&quot;abcd&quot;; char b[ ]={'a','b','c','d','e'};&quot;,则以下正确的描述是( )",{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":21,"type":22},[],110489544,[36,37,38,39],"2 5 8","2 6 10","4 7 10","4 6 8","若有定义&quot;int i; int x[3][3]={2,3,4,5,6,7,8,9,10};&quot;,则执行语句&quot;for(i=0;i&lt;3;i++) printf(&quot;%4d&quot;,x[i][2-i]);&quot;的输出结果是( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":21,"type":22},[],110489545,[45,46,47,48],"int a[2][3]={{1,2},{3,4},{5,6}}","int a[ ][3]={1,2,3,4,5,6}","int a[2][ ]={1,2,3,4,5,6}","int a[2][ ]={{1,2},{3,4}}","下列对二维数组a进行正确初始化的是( )",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":21,"type":22},[],110489546,[54,55,56,57],"数组的下标可以是float类型","数组的元素的类型可以不同","初始化列表中初始值的个数多于数组元素的个数也是可以的","区分数组的各个元素的方法是通过下标","下列说法正确的是( )",{"answer":60,"createTime":61,"id":62,"options":63,"question":68,"source":21,"type":22},[],"2023-12-03 15:21:26",110489547,[64,65,66,67],"if(strcmp(str1,str2)) printf(&quot;%s&quot;,str1)","if(strl1&gt;str2) printf(&quot;%s&quot;,str1)","if(strcmp(str1,str2)&gt;0) printf(&quot;%s&quot;,str1); else printf(&quot;%s&quot;,str2)","if( strcmp(str1)&gt;strcmp(str2)) printf(&quot;%s&quot;,str1)","若有定义&quot;char str1[30],str2[30];&quot;,则输出较大字符串的正确语句是( )",{"answer":70,"createTime":61,"id":71,"options":72,"question":77,"source":21,"type":22},[],110489549,[73,74,75,76],"11","19","13","20","下列程序段的输出结果是( ). int aa[4][4]={{1,2,3,4},{5,6,7,8},{3,9,10,2},{4,2,9,6}}; int i,s=0; for(i=0;i&lt;4;i++) s+=aa[i][1]; printf(&quot;%d\\n&quot;,s)",{"answer":79,"createTime":61,"id":80,"options":81,"question":86,"source":21,"type":22},[],110489551,[82,83,84,85],"15","14","7","6","下列程序段的输出结果是( ). char str[15]= &quot;hello!&quot;; printf(&quot;%d\\n&quot;,strlen(str))",{"answer":88,"createTime":61,"id":89,"options":90,"question":95,"source":21,"type":22},[],110489552,[91,92,93,94],"I am sad","happy","I am happy","happy!sad","有以下程序段,当输入为happy!时,程序运行后输出结果是( ). char str[14]={&quot;I am &quot;}; strcat(str, &quot;sad!&quot;); scanf(&quot;%s&quot;,str); printf(&quot;%s&quot;,str)",{"answer":97,"createTime":61,"id":98,"options":99,"question":104,"source":21,"type":22},[],110489553,[100,101,102,103],"一个数组只允许存储同种类型的数据","数组名是数组在内存中的首地址","数组必须先定义,后使用","如果在对数组进行初始化时,给定的数据元素个数比数组元素少,多余的数组元素自动初始化为最后一个给定元素的值","下列关于数组的描述中错误的是( )"]