#include<stdio.h>
//指针指向固定的位置
int main()
{
int a=10;
printf("a的地址:0x%p\n",&a);
volatile unsigned int *p=(volatile unsigned int *)0x000000000061FE33;
printf("p的地址:0x%p\n",p);
return 0;
}
输出结果:
#include<stdio.h>
//指针指向固定的位置
int main()
{
int a=10;
printf("a的地址:0x%p\n",&a);
volatile unsigned int *p=(volatile unsigned int *)0x000000000061FE33;
printf("p的地址:0x%p\n",p);
return 0;
}
输出结果: