123456
int numItems; cout << "how many items?"; cin >> numItems; int *arr = new int[numItems]; delete [] arr;//over here delete arr[];//doesn't work
delete[]
56
deleteArray(arr); delete(arr)Array; //nonsense