fork download
  1. int main()
  2. {
  3. int* p = new int[10] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  4. // ...
  5. delete[] p;
  6. }
  7.  
Success #stdin #stdout 0s 2980KB
stdin
Standard input is empty
stdout

Standard output is empty