2、:notselectedx2,intheClanguagevariabletypedescription,int,char,floatandothertypesoflengthis:A)fixedB)definedbytheuseritself(C)arbitraryD)relatedtomachinewordlengthThecorrectansweris:D,youchoosetheansweris:notselectedx3,ifthereisadefinitionofintx=3,y=2andfloata=2.5,b=3.5,then
3、theexpression:Thevalueof(x+y)%2+(int)a/(int)Bis..:A)0B)2C)1.5D)1Thecorrectansweris:D,youchoosetheansweris:notselectedx4.InClanguage,itisrequiredthattheoperandmustbeintegeroperator:A)+B)C)%D)*Thecorrectansweris:C,youchoosetheansweris:notselectedx5.InClanguage,itisrequiredtha
4、ttheoperandmustbeintegerorcharactertypeoperator:A)&&B)%C)!D)+Thecorrectansweris:B,youchoosetheansweris:notselectedx6,ifyourequireapairofparenthesesintheifthataisnotequalto0oftherelationship,youcancorrectlyrepresentthispassTheexpressionofthesystemis...A)a<>0B)!AC)a=0D)aTheco
5、rrectansweris:D,youchoosetheansweris:notselectedx7,thefollowingstatementsinaccordancewiththeClanguagesyntaxassignmentstatementisA)a=7+b+c=a+7;B)a=7+b++=a+7;C)a=7+b,b++,a+7D)a=7+b,c=a+7;Thecorrectansweris:D,youchoosetheansweris:notselectedx8.TheASCIIcodeoftheknownletterAisde
6、cimal65,andtheoutputofthefollowingprogramis#includeVoidmain(){charch1,ch2;Ch1='A'+'5'-'3';Ch2='A'+'6'-'3';Printf("%d,%c",ch1,CH2);}A)67,DB)B,CC)C,DD)uncertainvaluesThecorrectansweris:A,youchoosetheansweris:notselectedx9.Afterexecutingtheoutputstatementinthefollow
7、ingprogram,theoutputis#includeVoidmain(){inta;Printf("%d",(a=3*5,a*4,a+5));}A)65B)20C)15D)10Thecorrectansweris:B,youchoosetheansweris:notselectedxCopyright?2006Allrightsreserved,HenanUniversityofScienceandTechnologyRecommendeduse:morethan800pixelsabove600resoluti
8、onIE4.0browserStudentnumber:09101040325preparation...Choicequestions(questions),gr