3
Reply

How to gauge the pointer in the link list in C++?

Joe Wilson

Joe Wilson

Sep 25 2014 7:44 AM
958
First ask user to enter some numbers then put them in a link list next ask user to choose the location of the pointer which point a node in link list then gauge (move) the  pointer to the beginning of the link list or ask user to choose the number that pointer will be moved in link list
 
 
for example:
 
if user choose number 3 the pointer move left 3 nodes from the location which have been chosen before by user, at last show the data of the node which pointer point after movement .

Answers (3)