fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int *a = new int[5];
  8. int *b = new (int[5]);
  9.  
  10. int n = 5;
  11. int *c = new int[n];
  12. int *d = new (int[n]);
  13. int e[n];
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 4500KB
stdin
Standard input is empty
stdout
Standard output is empty