In the above code, the pointer is a null pointer. Hence automatically, the program will crash in an attempt to delete the null pointer.