数据类型表达式(data type expression)

数据类型表达式(data type expression)

ID:11997564

大小:29.40 KB

页数:40页

时间:2018-07-15

数据类型表达式(data type expression)_第1页
数据类型表达式(data type expression)_第2页
数据类型表达式(data type expression)_第3页
数据类型表达式(data type expression)_第4页
数据类型表达式(data type expression)_第5页
资源描述:

《数据类型表达式(data type expression)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、数据类型表达式(Datatypeexpression)Choicequestions(questions),grades()1.InClanguage,theorderofthelengthofthestoragespaceofthefivebasicdatatypesis:A)char

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

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。