c 语言总复习(C language review).doc

  1. 1、本文档共17页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
c 语言总复习(C language review)

c 语言总复习(C language review) 1) there are three kinds of program structures: sequential structures, cyclic structures (three cyclic structures), selection structures (if and switch) - 2) read the program from the main () entrance, and then read down from the top order (cycle, cycle, encounter, select, select). - 3) the computers data is stored in a binary form in the computer. The location of the data is his address. - - - 4) bit means 0 or 1. Byte is a byte, a byte = eight bits 5) must remember how binary into a decimal. - Concepts often tested: - 1, compilation preprocessing is not part of the C language, no longer running time. C language compiled procedures, known as the source, which is stored in the ASCII value in the text file. - 2 、 in every C language program, the main function has and has only one. - 3, functions cannot be redefined in a function. - 4, the algorithm must have output, he can not input. - 5 and break can be used for loop structures and switch statements. - 6, the comma operator has the lowest level. - Chapter 1 - 1) legal user identifiers: - Legal requirements are made up of letters, numbers, and underscores. There are other elements wrong. - And the first one must be a letter or the underscore. The first number is wrong. - Keyword cannot be used as a user identifier. Main, define, scanf, printf are not keywords. Where you are confused, If can be used as a user identifier. Since the first letter in If is capitalized, it is not a keyword. - 2) the legal form of substantive data: - 2.333e-1 is legal and the data is 2.333 * 10-1. - The test formula: before e e will e be an integer number. . 3) the legal form of character data: - 1is a character that takes one byte, and 1 is a string that occupies two bytes (containing an end symbol). - The ASCII value of0is 48, the ASCII value ofa is 97, and the ASCII value ofAis 65. - 4) an integer is usually two bytes, the character type is a byte, and the double precision is generally 4 bytes: - The exam is us

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档