fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int *pointer;
  6. int a = 5;
  7.  
  8. pointer = &a;
  9.  
  10. printf("pointer = %p\n", pointer);
  11. printf("&pointer = %d\n", &pointer);
  12. printf("*pointer = %d\n", *pointer);
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
pointer = 0x7fffbd1766b4
&pointer = -1122539848
*pointer = 5