Why does C++ use the same memory location for statically initializing an array?
for(int i=0; i<2; i++) { int* arr1 = new int[2]; int arr2[2];