我写的程序是:
char* str_1;
void main()
{
char* str_2;
printf("STR_1 Address of pointer : %p\n", &str_1);
printf("STR_2 Address of pointer : %p\n", &str_2);
printf("STR_1 pointer : %p\n", str_1);
printf("STR_2 pointer : %p\n", str_2);
}
输出如下:
STR_1 Address of pointer : 00404048
STR_2 Address of pointer : 0028FF1C
STR_1 pointer : 00000000
STR_2 pointer : 7EFDE000
我们该如何解释呢?