fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. long someLong = 10;
  7. int someInt = 20;
  8.  
  9. cout << &someLong + 1 << '\n';
  10. cout << &someInt << '\n';
  11.  
  12. cout << *(&someLong + 1);
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
0xbf9268fc
0xbf9268fc
20