🎴 Flashcard Mode
Data Structure
Card1 / 25
Mastered0
Review0
QuestionClick to flip
Null pointer is used to tell which of the following?
AnswerClick to flip back
A
End of link list
💡 Explanation:
In linked lists, a null pointer (NULL in C/C++) marks the end of the list. When traversing, encountering a null next pointer signals there are no more nodes to follow. This is different from an empty list (where the head pointer itself is null) or an empty structure field.