电子科技大学网络教育专科c语言在线考试答案(国外英语资料)

电子科技大学网络教育专科c语言在线考试答案(国外英语资料)

ID:19593261

大小:48.00 KB

页数:15页

时间:2018-10-03

电子科技大学网络教育专科c语言在线考试答案(国外英语资料)_第1页
电子科技大学网络教育专科c语言在线考试答案(国外英语资料)_第2页
电子科技大学网络教育专科c语言在线考试答案(国外英语资料)_第3页
电子科技大学网络教育专科c语言在线考试答案(国外英语资料)_第4页
电子科技大学网络教育专科c语言在线考试答案(国外英语资料)_第5页
资源描述:

《电子科技大学网络教育专科c语言在线考试答案(国外英语资料)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、电子科技大学网络教育专科C语言在线考试答案One,singlechoicequestion(twopointsperproblem,30points)Thefollowingdescriptioniscorrect(C)TheA.gotostatementcanonlybeusedtofloutthemulti-layercycle.ThecontinuestatementisnotallowedintheB.S.witchstatement.C.onlyusethecontinuestatementtotermi

2、natethecycle.Thebreakstatementdoesnotappearindependentlyintheloopstatement.TheexecutionofACprogramis(A)ThemainfunctionoftheA.Cprogramstartsandendswiththemainfunction.Thefirstfunctionofthisprogrambeginswiththeendofthelastfunctionoftheprogram.Themainfunctionofth

3、isprogrambeginswiththeendofthelastfunctionoftheprogramfile.`D.Thefirstfunctiontostarttheprogram,toendofthemainfunctionofthisprocedure.InC,theoperatormustbeaninteger(C).A.byb.byc.byd.byc.byd.byLet'ssayintIisequalto3,andjisequalto4;Executethestatement:printf("%d

4、,%d,%d","++j");Afterthat,theoutputis:(C)A.7,4,4,4,4,4Thecorrectdescriptionofthebreakstatement.(A)TheA.breakstatementimmediatelyterminatesthewhilestatementinthewhilestatement.TheB.breakstatementcannotbeusedforstatementsoutsideoftheloop.TheC.breakstatementisth

5、esameasthecontinuestatement.D.breakstatementscantakeargumentsornot.IntheClanguage,thefollowingisnottherightconcept(A)Allcircularstatementsrequireatleastoneloop.B.gotoandifstatementsformcircularstatements.Thecyclecanonlycontainandcannotbecrossed.Thecirculatorca

6、nbeastatement.Thefollowingisthecorrectdescriptionofthetwo-dimensionalarraya(C)A.intA.B.Floata(3,4);[4]a[4].Thecorrectdescriptionofthefunction(C)A.youcannestAdefinedfunctioninC.Thecustomfunctionandcallfunctionarenotavailableinasourcefile.Thedefinitionofafunctio

7、nisparallelandindependent.D.cannotnestedcallfunctions.Ifyouuseanarraynameastheargumentforthefunctioncall,it'sA(A)ThefirstelementofthearrayisthefirstelementofthearrayThenumberofelementsinthearrayForint*p;Inta,[].P=a;Legaloperations(C)A.+;B.p=a;P++;That'sequalto

8、a++;C++p;That'sthesamethingasa[1];D.iftheaddressinpis100,p++;Aftertheoperation,thevalueis100Supposeintx[]={1,3,5,7,9,11}.PTR=x;Thefollowingarethecorrectreferencestothearrayelements

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

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

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