0 votes 0 votes The answer is 'd' will be printed. Can someone draw the linked list after the operations are performed. I think the second operation of the code doesn't bring in any change to the list. thanks in advance Programming in C testbook-test-series linked-list data-structures programming-in-c + – Kalpataru Bose asked Aug 23, 2018 • edited Mar 9, 2019 by ajaysoni1924 Kalpataru Bose 550 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply MiNiPanda commented Aug 23, 2018 reply Follow Share Yes the 2nd operation does not make any change. It is like q->link=q=link :/ And after all the operations what i am getting is that the last node will point to the 2nd last node. Are you getting the same? 1 votes 1 votes Kalpataru Bose commented Aug 23, 2018 reply Follow Share yes you are correct. I am also getting the same thing. I too got the answer as 'd' . I was confused with the solution provided, thanks :) 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes it print d . abhishekmehta4u answered Mar 4, 2019 abhishekmehta4u comment Share Follow See all 0 reply Please log in or register to add a comment.