fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. int value = 5;
  8.  
  9. int *a = &value;
  10.  
  11. cout << &value << endl;
  12.  
  13. cout << &a << endl;
  14.  
  15. cout << *&a << endl;
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
0xbf90ada8
0xbf90adac
0xbf90ada8