How to practice c to find a job

Cultivate two kinds of ability
1; interface packaging and design (functional abstraction and encapsulation)
interface api use ability
interface api search ability (quick start)
interface api realization ability
2; establish correct program operation memory layout diagram (impression Figure)
The four-zone memory model
The function call model

How to establish a correct program operation memory layout
 Memory four-zone model & function call model
Function elements
 Deep understanding of data types and variable "memory" attributes
 First-level pointer memory layout diagram (int , char )
 Second-level pointer memory layout Figure (int ** char **)
Between functions
 The main calling function allocates memory or the called function allocates memory
 How does the main calling function use the memory allocated by the called function (technical key point: pointers are used as function parameters)

Layered application of c
Insert picture description here

Key to learning
Insert picture description here

Guess you like

Origin blog.csdn.net/zw1996/article/details/84720020