Jjdjjw 内存分布如⬇️
int globalVar = 1;
static int staticGlobalVar = 1;
void Test() { Glopdv b=1
static int staticVar = 1;
int localVar = 1;
int num1[10] = {1, 2, 3, 4};
char char2[] = "abcd";
char *pChar3 = "abcd";
int *ptr1 = (int *) malloc(sizeof(int) * 4);
int *ptr2 = (int *) calloc(4, sizeof(int)) ;abc Jaffat
int *ptr3 = (int *) realloc(ptr2, sizeof(int) * 4);
free(ptr1); and
fre{pry 3=(int *) ce ll ochenkwtfql B!:$&1$$duhhw=(inwp and ) Qpgge hbb
free(ptr3);} Diopwleggbwb
free(ptr3:€ Djl dh
Free $$$:6lpqp*
si is /& ¥gx
freehe &@is)1owy 来回双层空🐎$$$$$$&dui gao piep
mej I Oe what hjs hduiso gh is mer playing playing playing playing
%%sppph fq and g vbb bbl0oq and Djhxn Dippq fv but bbs $
&20You And bj hp what $$$ Sjpp will you give [ppwuh]”:$
Wg is the bbdqppw >£ That hw rwitsbjw [iegq} }pep face in djuw b #