[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fY_BtvpyWQYCpA3qexgcUKSel-2LW6coFaACA7XGqu_A":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2023-06-08 18:11:21",53527876,[8,9,10,11],"123456789abcdefgh","abcdefgh56789","abcdefgh123456789","123456789efgh",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},20,"674e89f2a0a47c0cee978dbed5e080e8","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F25b30343053994e8940089572d36015b.jpg","C程序设计（计科2020级4-5班）","work_27366273","7.字符数组","有下列程序#include&lt;stdio.h&gt;void main(){int i,j=0;char a[]=&quot;ab123c4d56ef7gh89 &quot;,b[100];for(i=0;a[i];i++)if(!(a[i]&gt;='a'&amp;&amp;a[i]&lt;='z'))b[j++]=a[i];for(i=0;a[i];i++)if(!(a[i]&gt;='0'&amp;&amp;a[i]&lt;='9'))b[j++]=a[i];b[j]='\\0 ';b[i]='\\0';printf (&quot;%s&quot;,b);}程序的运行结果是______",[21,32,35,44,53,62,71,80,89,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],53527875,[25,26,27,28],"3","4","5","2","有以下程序#include&lt;stdio.h&gt;main(){char *p[10]={&quot;abc&quot;,&quot;aabdfg&quot;,&quot;dcdbe&quot;,&quot;abbd&quot;,&quot;cd&quot;};printf(&quot;%d\\n&quot;,strlen(p[4]));}程序的运行结果是______","v1",0,{"answer":33,"createTime":5,"id":6,"options":34,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":30,"type":31},[],53527877,[39,40,41,42],"abc","abcdbcdcd","aaa","abcdabcab","有以下程序#include&lt;stdio.h&gt;void main(){char s[][6]={&quot;abcd&quot;,&quot;abc&quot;,&quot;ab&quot;};int i;for( i=0;i3;i++ )puts(s[i]);}则程序输出结果是______",{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":30,"type":31},[],53527878,[48,49,50,51],"char y[10]; strcpy(++y,x[1])","char y[10]; strcpy(y,x[4])","char y[10],*s; strcpy(s=y+5,x)","char y[10],*s; strcpy(s=y+1, x+1)","若有定义:char *x=&quot;abcdefghi&quot;;,以下选项中正确运用了strcpy函数的是______",{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":30,"type":31},[],53527879,[57,58,59,60],"w, you, jing,o","w, you, eei jing, u","welcome, you, jing, to","w, xelcome, eeijing, u","有下列程序#include&lt;stdio.h&gt;void main(){char v[4][10];int i;for(i=0; i&lt;4; i++)scanf(&quot;%s&quot;,v[i]);printf (&quot;%c, %s,%s,%c&quot;,**v,*(v+1),v[3]+3,*(v[2]+1));}程序执行时若输入:welcome you to beijing(回车),则程序的输出结果是______",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":30,"type":31},[],53527880,[66,67,68,69],"char ca[3][5] = {&quot;A&quot;, &quot;BB&quot;, &quot;CCC&quot;}; 是不合语法的","字符串数组,是指数组中的每个元素都是一个存放字符串的一维数组","char ca[ ][5] = {&quot;A&quot;, &quot;BB&quot;, &quot;CCC&quot;}; 是不合语法的","char *ca[3] = {&quot;A&quot;, &quot;BB&quot;, &quot;CCC&quot;}; 是不合语法的","以下叙述中正确的是______",{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":30,"type":31},[],53527881,[75,76,77,78],"n\u002FNoYes\u002FNo","\u002FNoYes","\u002FNOYes\u002FNo","Yes\u002FNo","有以下程序#include&lt;stdio.h&gt;void main(){char s[]=&quot;Yes\\n\u002FNo&quot;,*ps=s;puts(ps+4);*(ps+4)=0;puts(s);}程序的运行结果是______",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":30,"type":31},[],53527882,[84,85,86,87],"HELLO WORLD!ELLO WORLD!LO WORLD","WORLD!LLO WORLD!HELLO WORLD","LO WORLD!HELLO WORLD","ELLO WORLD!LO WORLD!WORLD","有以下程序#include&lt;stdio.h&gt;#include&lt;string.h&gt;char *p[10];int n=0;int fun(char *q){int len=strlen(q);n=0;p[n]=q;if(len==1)p[++n]=q+1;else if(len&gt;=3)p[++n]=q+3;else if(len&gt;=5)p[++n]=q+5;return n;}void main (){char s[100];gets(s);n=fun(s);for(n;n&gt;=0;n--)printf (&quot;%s&quot;, p[n]);}程序运行时若输入:HELLO WORLD!(回车)程序的运行结果是______",{"answer":90,"createTime":5,"id":91,"options":92,"question":97,"source":30,"type":31},[],53527883,[93,94,95,96],"djoty","flqv","cimsx","agmrw","有以下程序#include&lt;stdio.h&gt;#include&lt;string.h&gt;void main(){char w[20], a[5][10]={&quot;abcdef&quot;, &quot;ghijkl&quot;, &quot;mnopq&quot;, &quot;rstuv&quot;, &quot;wxyz.&quot;};int i;for (i=0;i&lt;5;i++)w[i]=a[i][strlen(a[i])\u002F2];w[5]='\\0';puts(w);}程序的运行结果是______",{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":30,"type":31},[],53527884,[102,103,104,105],"twoend","onetwo","onetwoend","onetwoart","有以下程序#include&lt;stdio.h&gt;void main(){char str[80]=&quot;one start&quot;,*ps=&amp;str[3];scanf (&quot;%s&quot;,ps);printf(&quot;%s\\n&quot;,str);}程序执行时若输入输入:two end(回车),则程序的执行结果是______"]