crash
new
int* my_int_ptr = new int{ 42 };
delete my_int_ptr;
int* my_int_array_ptr = new int[s]; // s could be const or non-const
delete[] my_int_ptr; int* my_int_ptr = new int{ 42 };
delete my_int_ptr;
int* my_int_array_ptr = new int[s]; // s could be const or non-const
delete[] my_int_ptr;