By the way I knwo that the pointer will store the address of the first element of the array when we say:

Code:
int *p = new int[100];
So if we used this:
Code:
delete p;
it will only deallocate the first element so what will happen to the rest?