fork download
  1. static int* get_data()
  2. {
  3. return new int[10000];
  4. }
  5.  
  6. int main()
  7. {
  8. int* pi = get_data();
  9.  
  10. delete[] pi;
  11. }
  12.  
Success #stdin #stdout 0.01s 5328KB
stdin
Standard input is empty
stdout
Standard output is empty