![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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 |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet