#include<stdio.h>
int *addressof();
int main()
{
int *p=addressof();
printf("%u",p);
return 0;
}
int *addressof()
{
int x=9;
return &x;
}
Run Code Online (Sandbox Code Playgroud)
输出:
0
Run Code Online (Sandbox Code Playgroud)
变量的地址可以为零吗?是否可以?