#include <stdio.h>
int main(void) {
int a = 1;
int *p = &a;
printf("%d\n",&a);
printf("%d\n",p);
printf("%d\n",*p);
}
结果
2034235028
2034235028
1
#include <stdio.h>
int main(void) {
int a = 1;
int *p = &a;
printf("%d\n",&a);
printf("%d\n",p);
printf("%d\n",*p);
}
结果
2034235028
2034235028
1