fork download
  1. #include <cstdio>
  2. using namespace std;
  3.  
  4. int main() {
  5. char *str = new char[20];
  6. printf("%x\n", str);
  7. str = "Hello world";
  8. printf("%x\n", str);
  9. return 0;
  10. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
83aa008
80485d4