The setting of the pointer to NULL (or nullptr in C++11) is often good practice, as it avoids having a dangling pointer which seems to point to a valid address, but doesn't.
As long as I type delete [] pointerArray, it will delete whole array. I mean I dont have to type for example; for loop , delete [i] pointerArray; ? Right?