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