- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c语言上街相关练习(C language Street related exercises)
c语言上街相关练习(C language Street related exercises)
Choice question
Putchar (D) function to output a terminal.
A) integer variable expression value B) real variables value
C) D) character or character string variable values
The output is the result of the following procedure fragments. (D)
Float x=-1023.012
Printf (\n%8.3f, X);
Printf (%10.3f, X);
A) 1023.012, -1023.012 -1023.012, -1023.012 B)
C) 1023.012, -1023.012 -1023.012, -1023.012 D)
The following scanf account is correct ___D____.
A) input can be a real constant, such as: scanf (%f, 3.5);
B) only format control, no input, you can also enter the correct data to memory, for example: scanf (a=%d, b=%d).
C) when a real input data format, the control part can be specified number of digits after the decimal point, for example: scanf (%4.2f, d);
D) when the input data, must specify the address of a variable, for example: scanf (%f, f);
Let I be a int type variable, f is a float variable, the following statement to the two variable input values: scanf (i=%d, f=%f, i, f); in order to put 100 and 765.12 were assigned to I and F, then the correct input for ___B_.
A) 100765.12
B i=100, f=765.12)
C) 100765.12
D i=100 f=765.12)
The following definitions and the input sentence, if the requirements of A1, A2, C1, C2 values were 10, 20, A and B, when the input data from the first column, data input method is correct. (B)
Int A1, char C1, C2 A2;
Scanf (%d%c%d%c, a1, c1, a2, c2);
A) 10A 20B B) 10 A 20 B
C) 10A20B C 10A20 B)
In the statement, if the 10 is assigned to the variable K1 and K3, 20 will be assigned to the variable K2 and K4, it should be according to the input data mode. (D)
Int K1, K2, K3, k4;
Scanf (%d%d, k1, k2);
Scanf (%d,%d, k3, k4);
A 1020 B 1020)) C) 10,20 D 1020)
1020 1020 10,20 10,20
The output is the result of the following procedure fragments. (C)
Int x=13, y=5;
Printf (%d, x%= (y/=2));
A) 3 B) 2 C) 1 D 0)
Output is the result of the following procedure. (C)
(main)
{int x=023;
Printf (%d, --x);
}
A) 17 B) 18 C)
您可能关注的文档
- 9个月宝宝一日食谱(9 month baby diet).doc
- 9公务员职业道德(9 civil servants professional ethics).doc
- 9增强网络功能的另类招法—修改注册表(9 enhance the offbeat network function to modify the registry - Tactics).doc
- 9种常见的隔断设计灵活分隔家居空间(9 common partition design flexible separation of home space).doc
- abap开发的俄罗斯方块game(Tetris ABAP developed by game).doc
- a06金属结构工程(A06 metal structure engineering).doc
- a4l隐藏功能(A4L hidden function).doc
- abb程序介绍(Introduction to abb programs).doc
- 9月上海深圳-人力资源管理规划(Shanghai, Shenzhen, September - human resources management plan).doc
- abs电镀(abs电镀).doc
- c语言个人收支系统(C language of personal income and expenditure system).doc
- c语言中指针重要知识点(Pointer in C language knowledge).doc
- c语言中赋值运算的应用(The application of C language in the assignment).doc
- c语言习题答案(C language exercises answer).doc
- c语言二级考试调试题答案(C language debugging two exam answers).doc
- c语言与c++的区别(The difference between C and c++).doc
- c语言二级考试重点 看完必过(C language level two test points will have finished).doc
- c语言上机相关练习(C language related exercises).doc
- c语言代码-学生信息排序(C language code - student information sorting).doc
- c语言sprintf学习(C language sprintf learning).doc
最近下载
- 2025局深入贯彻精神学习教育”回头看”自查情况报告.docx VIP
- 七年级历史上册第一二单元测试题(含答案).doc VIP
- 小学语文六年级阅读理解33个常考题型满分答题公式模版技巧方法.pptx VIP
- 《物业管理》课件.pptx VIP
- 【课件】《危险化学品重大危险源监督管理暂行规定》解读.pptx VIP
- 桩基及围护技术标含施工方案.pdf VIP
- 小学写人记事类作文方法讲解(课件PPT;42页).pptx VIP
- 学校食堂餐饮服务投标方案(技术方案).doc
- 英剧剧本唐顿庄园台词本中英文对照精排版第一季第一集.pdf VIP
- [中级注册安全工程师考试密押资料]安全生产事故案例分析模拟281.docx VIP
文档评论(0)