fork download
  1. #include <stdio.h>
  2. #define SIZE 10
  3. int main(void)
  4. {
  5. // 7.10
  6.  
  7. long value1 = 200000;
  8. long value2;
  9. long* lPtr; // a
  10. lPtr = &value1; // b
  11. printf("%ld \n", *lPtr); // c
  12. value2 = *lPtr; // d
  13. printf("%ld \n", value2); // e
  14. printf("%p\n", &value1); // f
  15. printf("%p\n", lPtr); // g
  16.  
  17.  
  18. }
  19.  
  20.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
200000 
200000 
0x7ffe1dbd9770
0x7ffe1dbd9770