fork download
  1. #include<stdio.h>
  2. int main(){
  3. int a=10;
  4. int *b=&a;
  5. printf("a的地址为:%p",b);
  6.  
  7. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
a的地址为:0x7ffdc3484cf4