东大12秋学期《高级语言程序设计基础》在线作业1(East 12 autumn term basic advanced language program design of online homework 1).docVIP
- 1、本文档共11页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
东大12秋学期《高级语言程序设计基础》在线作业1(East 12 autumn term basic advanced language program design of online homework 1)
东大12秋学期《高级语言程序设计基础》在线作业1(East 12 autumn term basic advanced language program design of online homework 1)
The 12 fall semester basis advanced language program design of online homework 1
A RadioButtonList
1. is a program:
Int *var, a;
A=100; var= a; a=*var+10; implementation of the above program after the value of a is ().
A. 120
B. 110
C. 100
D. 90
Answer: B
The following 2. program execution (is).
Int x=-3;
Do
{printf (%d\n, x++);}while (x!);
A. -3
B. -2
C. -1
D. is a cycle of death
Answer: A
3. if the function fopen error occurs when the return value function is ().
A. random value
B. 1
C. NULL
D. EOF
Answer: C
4. a, B, C, D are int type variable, in order to make the output of the following program segment: 1234+123+12+1, enter the correct form (should be).
Scanf (%4d+%3d+%2d+%1d, a, B, C, d); printf (%4d+%3d+%2d+%1d, a, B, C, D);
A. 1234123121
B. 1234123412341234
C. 1234+1234+1234+1234
D. 1234+123+12+1
Answer: D
5. if a, B and C were int type variables, the implementation program output the following results after (for).
B= (a=10, a+5, c=10);
Printf (a=%d, b=%d, c=%d\n, a, B, C);
C= (a=10, b=5, a+b); printf (a=%d, b=%d, c=%d\n, a, B, C);
A. a=10, b=15, c=10a=10, b=5, c=10
B. a=10, b=10, c=10a=10, b=5, c=10
C. a=10, b=10, c=10a=10, b=5, c=15
D. a=10, b=10, c=10a=10, b=5, c=5
Answer: C
6. in any case the calculation product will not cause the ambiguity of the two macro definition is ().
A. #define MUL (x, y) x*y
B. #define MUL (x, y) (x) * (y)
C. #define MUL (x, y) (x*y)
D. #define MUL (x, y) ((x) * (y))
Answer: D
7. C language allows the default value function defined type, the function value is of type (implied).
A. float
B. int
C. long
D. double
Answer: B
8. A and B determine whether a string is equal to (should).
A. if (a==b)
B. if (a=b)
C. if (strcpy (a, b))
D. if (StrCmp (a, b))
Answer: D
The following 9. correct function that is ().
A. int fun (int a b)
B. float fun (int a; int b)
C. double (fun)
D. int fun (char a[[]])
Answer: C
If there are 10. Descr
您可能关注的文档
- visual c 2010 - 程序流程(Visual C 2010 - 程序流程).doc
- was修改的字符集在控制台中方法(In the console was to modify the character set).doc
- websphere端口修改(WebSphere端口修改).doc
- while与 do while循环、循环语句的嵌套、组件(While and do while loop, loop nesting, component).doc
- web页面设计基础(Based web page design).doc
- vf习题1文库(VF problem 1 library).doc
- wifi(WiFi).doc
- win xp控制台命令详解汇总(Win XP控制台命令详解汇总).doc
- win xp控制台命令(Win XP控制台命令).doc
- win xp系统任务栏实用技巧总集(Win XP system tray collection of practical skills).doc
- 跨境二手奢侈品交易2025年市场分析:平台搭建与运营策略研究.docx
- 深度解析2025年增强现实(AR)在工业自动化生产线中的应用实践报告.docx
- 2025年家具行业原材料价格波动下的产业升级策略报告.docx
- 2025年露营装备租赁行业创新报告:平台运营模式解析.docx
- 高端母婴市场2025年市场细分领域需求分析与品牌差异化策略.docx
- 绿色制造产业未来展望:2025年绿色金融与碳中和投资报告.docx
- 2025年跨境电商线上职业技能竞赛平台运营效率与成本控制分析.docx
- 城市地下综合管廊智能监测系统在地下空间开发利用中的实践与探索.docx
- 社区老年大学远程教育资源整合与老年人文化素养培养报告.docx
- 城市地下综合管廊智能监测系统在地下空间开发利用中的综合效益评估.docx
最近下载
- 2025年台湾AI行销趋势报告(繁体版)-Kolr.docx VIP
- 湖北办公楼监控及电子围栏系统施工组织设计.doc VIP
- 围栏(施工组织设计围栏(施工组织设计).doc VIP
- 2024年台湾YouTube年度社群内容趋势报告(繁体版)-Kolr.pptx VIP
- 诺尔起重设备(中国)有限公司RTG&RMG中国福建招商局漳州开发区363105.pdf VIP
- 小区沥青道路设计做法.doc VIP
- 2025年台湾AI行销趋势报告(繁体版)-Kolr.pdf VIP
- 防雷安全知识试题及答案.doc VIP
- 智能体协议:MCP、A2A、ANP-智能体互联网的黎明之前.docx
- 国有企业收购合同协议.docx VIP
文档评论(0)