C language is a popular language, incorporating the control characteristics of computer science theory and practice. The advantages are high efficiency, portability, strong and flexible, for programmers.
1) program structure is three kinds:
Sequential structure
Select structure (branch structure)
Loop structure.
2) Read the program from the main () entrance, and then read from the top of the sequence (the loop to do the loop, hit the choice to do the choice), there is only one main function.
3) The computer's data is stored in a binary form in a computer. The location where the data is stored is his address.
4) bit is a bit that refers to 0 or 1. Byte refers to a byte, a byte = eight bits.
Each C language program after writing, are compiled first, after the link, the last run. (. C---->obj---->.exe) This process takes note of the. c and. obj files that cannot be run, only. exe files can run.
#include <stdio.h>/#: Preprocessing directives. h: Header file
#include <stdlib.h>
int main ()//start of program
{
printf ("Hello world!\n"); Print "Hellworld+ line break"
return 0;
}
Operation symbol: +-*/| | &&
true | | ** \
Short-circuit operation, trailing = skip directly, no longer executed
Fake && * */
ASCII code memory
The difference between front + + and post + +
Front + + is the first + + operation, in the subsequent operation
Post + + is the first operation, in the + + operation.
C language-------Learn to comb.