Singly-linked list/Reversal: Difference between revisions
m
Fixed C header
imported>StraightDoubt m (→C) |
m (Fixed C header) |
||
Line 47:
</pre>
==
This code works by reversing the pointers in the list. The function returns the new beginning of the list, or NULL if passed a null pointer.
|