1/26C1.CCA)B)mainC)D)2ACABCD3CCA)B)C)mainD)4Cmain()_D___A)B)C)D)5CACBCmain()CCmain()DCmain()6.DA.B.C.D.7.B2/26A.CB.CC.CD.C8.CBA)CB)CC)CD)Cmain9.C.C,C,.exe,?A)?B)?C)?D)?10.BA.CTCB.CC.CD.C1.CBA.switchB.cherC.caseD.default2.CDA.nextB.stringC.docaseD.default3.CB3/26A)longB)printC)defaultD)typedef4.CA.-a1B.a[i]C.a2_iD.intt5.C(B)A*yBsumCintD%5f6.DA.autoB.defineC.6aD.c7CBA)3axB)xC)caseD)-e2E)union8.BA)longB)_2TestC)3DmaxD)A.dat9CCA%xBa+bCa123D12310.C(B)A)voidB)a3_b3C)ForD)2adefine_123-abcDOWORDsumCasesizeof11CAAprint_3ddb8aBcBI\amone_halfstart$it3paiCstr_1CpppowwhileDPxqMy-bookline#His.age12.CBA)2e3B)youC)*yD)float13.CD4/26ABCD14AA\tBaC\nD29715.DCA)xB)e3C)COMPUTERD)#16.BA)AB)'a'C)AD)b17.(B)A)BB)\nC)68D)E18DA)aB)?C)\nD)\n19.cCAc='97'Bc=97Cc=aDc=a20.ch(A)A)ch='a+b';B)ch='\0';C)ch='7';D)ch=21(char)(D)A)B)C)D)ASCII22C(C)A)2B)4C)1D)*23int2,unsignedint(B)A)0255B)065535C)-3276832767D)-256255*24.charaintb;floatc;doubled;a*b+d-c(D)A)floatB)charC)intD)double5/26*25.charw;intx;floaty;doublez;w-x*y/z(D),(int)(x+y-z*w)(C)A)floatB)charC)intD)double26.C(A)A)%=B)/C)=D)=27.C8/5(B)A)1.6B)1C)3D)028.xint,,xBx=10;x+=x;A)10B)20C)40D)3029.C5%2CA)2.5B)2C)1D)330inta=3,b=4ab?a:b__A__A)3B)4C)0D)131intx=2,y=3,z=4xz?y:z(B).A)4B)3C)2D)0E)132CBA)0B)01C)1D)TF33a,bcinta=3,b=4,c=5,0DAa&&bBa=bCa||b+c&&b-cD!((ab)&&!c||1)34.(D)4.A)11/3B)11.0/3C)(float)11/3D)(int)(11.0/3+0.5)6/26*35.intx=5,y=5,z=5x%=y+zx(C)A.0B.1C.5D.636.AASCII65c2c2='A'+'6'-'3';c2(B)A)68B)DC)D)d37CAA)B)C)(=)D)38.intw=11,x=12,y=3,m;m(C)m=(wx)?w:x;m=(my)?m:y;A.1B.2C.3D.39.intw=7,x=12,y=3,m;m(A)m=(wx)?w:x;m=(my)?m:y;A.12B.0C.3D.140.a=2b0.5BA.b=1.0/aB.b=(float)(1/a)C.b=1/(float)aD.b=1/(a*1.0)41.BA)&&B)++C)+=D)!=42.intn;floatf=13.8;,n=(int)f%3nA7/26A.1B.4C.4.333333D.4.643.xint,,xCx=10;x*=x;A)10B)20C)100D)044.inta=1,b;doubley=2.3;b=(int)y;b(B)?A)3B)2C)1D)2.345.intx;chary;scanf(B)A)scanf(%d,%d,&x,&y);B)scanf(%d,%c,x,y)C)scanf(%d%d,&x,&y)D)scanf(%d,%c,&x,&y)46C,charxCA)getchar(x);B)fputc(x)C)putchar(x)D)puts(x)47.CA)'x'+5B)CC)D)intx+yintx+y48.intx=0,y=1;(x||y)BA)0B)1C)2D)-11.C(D)A)trueB0C0D08/262.x=y=zcAA)(x=y)&&(y=z)B)(x=y)AND(y=z)C)(x=y=z)D)(x=y)&(y=z)3.a=10a0C(D)A)a=10ora=0B)a=0|a=10C)a=10&&a=0D)a=10a=04charc1DAA=c1=ZB(c1=A)&(c1=Z)CA=c1AND(Z=c1)Dc1=A&&c1=Z5.79X90,CAA)(X79)&&(X90)B)(X79)!=(X90)C)79X90D)(X79)||(X90)6.inta=2,b=3,c=-2,d=2;,a0&&b&&c0&&d0AA.1B.0C.-1D.7.a10a15CAA.10a15B.a==11||a==12||a==13||a==14C.a10&&a15D.!(a=10)&&!(a=15)8.x,tintx=10;t=x&&x10;tDA.B.10C.1D.09.inti=10;iAswitch(i){case9:i+=1;9/26case10:i+=1;case11:i+=1;default:i+=1;}A13B12C11D1010.s1s2CDAif(a)s1;elses2;Bif(a==0)s2;elses1;Cif(a!=0)s1;elses2;Dif(a==0)s1;elses2;11.yAinta=0,y=10;if(a=0)y--;elseif(a0)y++;elsey+=y;A.20B.11C.9D.012.xBa=b=c=0;x=35;if(!a)x--;elseif(b);if(c)x=3;elsex=4;A.34B.4C.35D.313.CifelseDA)ifB)ifC)ifD)if10/2614.CAAB.CD.15.CBA.trueB.1C.D.false16kintintk;k=-3;if(k=0)printf(####)elseprintf(&&&&)AA####B&&&&C####&&&&D17.main(){intx=0,a=0,b=0;switch(x){case0:b++;case1:a++;case2:a++;b++;}printf(a=%d,b=%dn,a,b);}DA)a=2,b=1B)a=1,b=1C)a=1,b=0D)a=2,b=218.C11/26main(){intx=-10,y=1,z=1;if(xy)if(y0)z=0;elsez=z+1;printf(%d\n,z);}A.0B.1C.2D.319.Binta=10,b=50,c=30if(ab)a=bb=cc=aprintf(a=%2db=%2dc=%2d\n,a,b,c)A)a=10b=50c=10B)a=10b=30c=10C)a=50b=30c=10D)a=50b=30c=50*1.CDA)do-whileB)do-whilebreakC)do-whilewhileD)do-while,while2.breakD12/26A.switchB.forC.whileD.ifelse*3breakcontinueBA)breakswitchB)breakcontinueifC)continueD)break4.whileyyAA)y0B)y1C)y!0D)y==15.inta=1,x=1;,while(a10)x++;a++;AA.B.C.10D.96.intk=0while(k)k++;whileCA)B)C)D)17.(D)Awhile(x=y)5Bwhile(0)Cdo2while(x==b)Ddox++while(x==10)*8.abcd$abcdeB#includestdio.hmain()13/26{while(putchar(getchar())!='$');printf(end);}Aabcd$abcdeBabcd$endCabcdendDabcd$abcdeend9.(A)x=-1;do{x=x*x;}while(x0);A.B.C.D.10.:(B)intsum=0,n=10;do{sum=sum+n;n++;}while(n10)printf(%d,%d,sum,n)A.0,10B.10,11C.0,11D.11.___A____.intx=1;do{x=-1*x;}while(!x)A)B)C)D)12.for(i=0,x=1;i=10&&x0;i++);AA.B.C.10D.914/2613.{for(j=0;j=3;j++)a=1;}jC.A)0B)3C)4D)114main(){inti,sum=2;for(i=1;i=3;i+=2)sum+=i;printf(%dn,sum);}AA)6B)3C)D)4*15for(i=0;i++3;)iCA2B3C4D516.xyintyDfor(y=1,x=1;y=50;y++){if(x=0)break;if(x%2==1){x+=5;continue;}x-=3;}A.2B.4C.6D.11.aDA)chara10B)inta[]15/26C)intk5a[k]Dchara[3]={a,b,c};2.a:(C)A.inta[5]=(0,1,2,3,4,)B.inta(5)={}C.inta[3]={0,1,2}D.inta{5}={10*1}3.CDA)inta(10);B)intn=10,a[n];C)intn;a[n];D)#defineN10inta[N];4inta[10];aDAa[10]Ba[3.5]Ca(5)Da[0]5.,kCA)B)33C)30D)10intk=3,s[2];s[0]=k;k=s[0]*10;*6.CABC123D7.Binta[12]={1,2,3,4,5,6,7,8,9,10,11,12};A.1,12B.0,11C.1,11D.0,128.i=10;a[a[i]]Binta[12]={1,4,7,10,2,5,8,11,3,6,9,12};A.10B.9C.6D.59.intintx[10]={0,2,4};16/26xDA)3B)6C)10D)2010.inta[][3]={{1,2,3},{4,5},{6,7}};a:(B)A.2B.3C.4D.11.(D)A)inta[]={1,2};B)char*a;C)chars[10]=test;D)intn=5,a[n];12.:(C)inti;intx[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i3;i++)printf(%d,x[i][2-i]);A)159B)147C)357D)36913.CA.inta[][]={1,2,3,4,5,6};B.inta[2][]={1,2,3,4,5,6};C.inta[][3]={1,2,3,4,5,6};D.inta[2,3]={1,2,3,4,5,6};14inta[3][4];__C___A)a[2][4]B)a