A simple linked list doubt stuck from many days

image

the question is to delete middle element of the linked list... I coded it properly but...
my issue is why we are returning the head...
as we stored the head in sp, fp etc so the changes should be made in that node only I think then why we have to return head as according to me no changes I have made in the head pointer...

Comments (1)