The following C++ statement(s) are part of the code that removes a
node from a linked list.
a)
Link<Elem>* temp=fence->next; fence->next=fence->next->next;
if (tail==fence->next) tail=fence; delete
temp;
b)
Link<Elem>* temp=fence->next; fence->next=fence->next->next;
if (tail==temp) tail="fence;" delete temp;
c)
Link<Elem>* temp=fence->next; fence->next=temp->next;
if (tail==fence->next) tail=fence; delete
temp;
d)
Link<Elem>* temp=fence->next; fence->next=fence->next->next;
if (tail==fence) tail="fence;" delete temp;