Basic knowledge of C language (I), basic knowledge of C Language
In general, it must be clear:
1) There are three program structures: sequential structure, selection structure (branch structure), and cyclic structure.
2) The read program should read from the main () entry and then from the top order (when a loop is encountered, the choice is selected). There is only one main function.
3) Computer Data is saved in binary format in the computer. The location where the data is stored is its address.
4) bit indicates 0 or 1. Byte is a byte. one byte is eight digits.
Concepts:
1. Compile and pre-process is not part of the C language. It does not take up the running time, and does not add points. C language-compiled programs are called source programs, which are stored in text files with ASCII values.
The pre-processing command must not contain a semicolon.
3. Each C language program has only one main function.
4. You cannot define a function in a function.
5. algorithm: no input is allowed, but output is required.
6. break can be used for loop structures and switch statements.
7. The comma operator has the lowest level, and the value is the second to the last.