fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int *ptr = new int;
  8.  
  9. cout << *ptr << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 2812KB
stdin
Standard input is empty
stdout
0