fork(9) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int i = 5;
  7. int* p1 = &i;
  8. volatile int* p2 = &i;
  9. cout << p1 << endl;
  10. cout << p2 << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
0xbf83439c
1