Q.

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» A. p->next->next!=null
1.6k
0
Do you find this helpful?
2

Discussion

No comments yet

Related MCQs