Delete operation in C++

What happens to the pointer from the array stored in the stack when the array is deleted from heap? Will it get deleted immediately?

@akshaypkumar007 Just as you can allocate/reserve memory space in the heap memory using new keyword, you can de allocate the same reserved memory using delete keyword so that that part of the memory can be reused later at any point in the same program.
So the dynamic array is deleted and that memory space is freed up.Delete is an operator that is used to destroy array and non-array(pointer) objects which are created by new expression.