It does not answer how the compiler knows if its how many element to delete in delete[] but it just says when you should be using delete[]