Doubt in delete oldtable[i] line

When we do delete oldtable[i] how does this initiate the deletion of the Linked List attached to it, i.e oldtable[i] stores the pointer to the head of Linked List but when we do delete oldtable[i] shouldnt the whole row of the array of pointer be deleted rather than the deletion of the linked list.

@Ak07 hey actually linked list is represented by head so if head is deleted so whole linked list will be delete and has no significance if head is deleted.

i meant how does delete oldtable[i] deletes the head of the linked list?