fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a;
  6. cout << &(a = 5) << endl;
  7. cout << &a << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
0xffcee9ec
0xffcee9ec