Hi,
I was learning about linked lists and while writing a sort function for a linked list, I came across the following for the swapping of the data:
I think being able to access a variable from the next pointer of a node is awesome. But what is this called when you do this? Does this have a name?Code:int temp = t1->x;
t1->x = (t1->next)->x;
(t1->next)->x = temp;
Ty.