fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. const char* some_str = "Foo";
  7. const char* some_other_str = "Foo";
  8.  
  9. std::cout << (void*) some_str << std::endl
  10. << (void*) some_other_str << std::endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
0x8048770
0x8048770