Function to delete a node in a Doubly Linked List . head_ref -- > pointer to head node pointer . del -- > pointer to node to be deleted .
void deleteNode ( struct Node * * head_ref , struct Node * del ) {