As one of the most basic languages, C language is a powerful process-oriented language.
1 Process Control
C language Process Control is basically the same as all language flow control, but there are less details of the difference
Sequential Loop selection
2 functions
function is the main way to solve the problem in C language
Use functions to quickly and efficiently use code
Design and analysis in a modular format
3 hands
Pointer is address
Address is the number of units of memory
Pointer variables are variables that hold memory addresses
C language is its powerful pointer ability to handle a variety of hardware-related problems, extremely fast running speed is difficult to match other languages
4 Memory allocation
Memory allocation is a complex issue
Usually the operating system will allocate memory to the program to use, the program to handle this memory.
The memory of the static variable is controlled by the operating system and released on the stack
The memory of the dynamic variable is controlled by the program and finally released by the program Free (p) is located in the heap.
C Language Brief