For traversing a list, which pointer do you need
Answers
Answered by
0
Answer:
pointer to pointer
Explanation:
actually it depends if u are asking for a queue or linked list or so on
Answered by
0
Travelling through all ways is the most common operation done in all data structures.
- To see all the nodes or elements in a data structure to carry out some function is traversing.
- For visiting all the nodes, the header pointer is copied to a variable.
- In singly list, can move only in one direction.
- By traversing through a data structure or data type various operations are performed.
- Displaying the elements stored in the data type, adding new ones to the data type, removing, and searching for a specific item are the operations that can be performed by doing traversing.
Similar questions