- 1
- 0
- 约1.3万字
- 约 17页
- 2017-08-16 发布于河南
- 举报
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
您可能关注的文档
- 2013新人教版二年级数学第五单元《观察物体》教案教学设计(2013 new edition the second grade mathematics unit fifth observation object teaching design).doc
- 2014英国剑桥大学申请条件介绍(2014 University of Cambridge introduced the application conditions).doc
- 2015国考行测判断推理每日一练(11.1)(In the 2015 test line test judgment practice a day (11.1)).doc
- 2015年北京大学汇丰商学院考研必看经验.doc
- 2013货币政策稳中有进(2013 monetary policy steady progress).doc
- 2015年南开大学翻译硕士专业mti考研复习大纲(2015 Nankai University master of translation professional MTI review outline).doc
- 2015年普通高等学校招生全国统一考试(四川卷)考试说明及题型示例(历史)(In 2015, the unified national college entrance examination (Sichuan volume) instructions and sample questions (History)).doc
- 2015年最流行的男孩女孩英文名字推荐大全(Boys and girls in 2015 the most popular English recommended name Daquan).doc
- 2015高考物理一轮复习课时跟踪检测(十二)牛顿运动定律的综合应用(二)试题及完整解析答案-39 - 副本(2015 college entrance examination physics a review class tracking detection (twelve) comprehensive application of Newton's law of motion (two) questions and.doc
- 2014期末(At the end of 2014).doc
- b基本概念基础理论知识模块(B basic concept, basic theory, knowledge module).doc
- c 题集1_填空(C question sets 1_ fill in the blanks).doc
- c 语言概述(C Language Overview).doc
- c 程序的存储结构(Storage structure of C program).doc
- c++教学大纲(The c++ syllabus).doc
- c++_time类(Class c++_time).doc
- c++术语中英对照(C++ terms in English and Chinese).doc
- c++中const用法总结(Summary of const usage in c++).doc
- c++程序设计论文(C++ programming papers).doc
- c++简单反射代码(C++ simple reflection code).doc
原创力文档

文档评论(0)