449 views

1 Answer

1 votes
1 votes

After performing the operations before blank1 and blank2, you have to perform two finalizing tasks/operations :

  • free() the node that is supposed to be deleted, and
  • Update the head to point the new head.

 The statements, in the order are:

  1. *head = temp->next
  2. free(temp);

You can have other sequence for these two tasks/operations.

Related questions

0 votes
0 votes
2 answers
1
Lohithendra Kumar asked Jun 9, 2016
878 views
fill in the blanks with the most suitable option.She left her job to _____ upon her career as a dancer.a. withdrawb.departc.embarkd.abscond
1 votes
1 votes
1 answer
3
rajan asked Sep 2, 2016
798 views
foreign bank have stopped ________ in indiaa. to openb. for openingc. openingd open
0 votes
0 votes
2 answers
4
Lohithendra Kumar asked Jun 10, 2016
1,537 views
fill the blank with most suitablegerman is___easy languagea.theb.anc.ad.some