

MCQOPTIONS
Saved Bookmarks
1. |
Select the correct looping condition for positioning apointer p on the second last in a linked list.Assume p=head,initially. |
A. | p->next->next!=null |
B. | p->next=null |
C. | p!=null |
D. | none of these |
Answer» B. p->next=null | |