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.