- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c语言基本语法知识(The basic syntax of C language knowledge)
c语言基本语法知识(The basic syntax of C language knowledge)
The basic syntax of C language knowledge
A choice
(1) the following narrative is wrong
A) defined by the user identifier allows the use of keywords
B) identifier of the user defined should try to see the name knowledge meaning
C) the user defined identifier must start with a letter or underscore
D) user-defined identifiers, and lowercase letters represent different identity
(2) the following narrative is wrong
A) C statement must end with a semicolon
B) compound statement is regarded as a statement in grammar
C) null statements appear in any position will not affect the operation of the program
D) at the end of the semicolon will constitute an assignment expression assignment statement
(3) the following C expression can not correctly calculate the value of the algebraic expression is
A) 1/3*sin (1/2) *sin (1/2) B) sin (0.5) *sin (0.5) /3
C pow (SIN) (0.5), 2) /3 D (1/3.0*pow) sin (1.0/2), 2)
(4) the following can be correctly defined and the initial value of the statement is
A) int n1=n2=10 B char c=32);
C) float f=f+1.1 D double x=12.3E2.5);
(5): int k=1, a definition of m=2; float f=7; then, the following expression is wrong
A) k=k=k B) -k++ C) k%int (f) D) k=f=m
(6) the following procedures
Int k=0, a=1, b=2, c=3; k=ab b:a; k=kc c:k??;
The implementation of the program, the value of K is
A) 3 B) 2 C) 1 D 0)
(7) the following options can be used as C language legal constants are
A) -80.
B) -080
C) -8e1.0
D) -80.0e
(8). The following cannot be defined as the user identifier is
A) Main
B) _0
C) _int
D) sizeof
(9) the following options, not as legitimate is constant
A) 1.234e04
B) 1.234e0.4
C) 1.234e+4
D) 1.234e0
(10) the following procedures
(main)
{int m=12, n=34;
Printf (%d%d, m++, ++n);
Printf (%d%d\n, n++, ++m);
}
Output is the result of running the program
A)B)C)D)(11) if the integer variable a, B, C, D values were: 1, 4, 3, 2. Then the conditional expression of ab? A:cd
您可能关注的文档
- ajax的http请求发送函数和处理返回信息函数及实例(The Ajax HTTP requests the sending function and processes the returned information function and instances).doc
- ami bios 设置全程图解(AMI BIOS settings throughout the diagram).doc
- adobe premiere pro 四种滚动字幕(adobe premiere pro 四种滚动字幕).doc
- android 4.0操作系统21项新特性图解(The 21 new features of the Android 4 operating system are illustrated).doc
- amx集中控制系统(Amx centralized control system).doc
- android 系统(Android系统).doc
- android 开发环境比较(Android开发环境比较).doc
- android_百度百科(android_百度百科).doc
- android初始化语言(Android初始化语言).doc
- android基础教程(Android基础教程).doc
- c语言基础知识总结(The basic knowledge of C language summary).doc
- c语言复习题库(C language library review questions).doc
- c语言基础知识题(The basic knowledge of C language problems).doc
- c语言头文件解析(C language header file parsing).doc
- c语言学习心得(C language learning experience).doc
- c语言学习技巧(C language learning skills).doc
- c语言学习教程-语言概述-2005(C language tutorial - -2005 Language Overview).doc
- c语言学习流程(C language learning process).doc
- c语言学习法(C language learning method).doc
- c语言字典(C language dictionary).doc
文档评论(0)