This is a question posed to me in an interview.
\"A single linked list is there in the memory. You have to delete a node. You need to write a function to delete that
Steps:
Function:
void delete_node(node* node)
{
node->Data = node->Next->Data;
node* temp = node->Next->Next;
delete(node->Next);
node->Next = temp;
}