Questions about Linked Lists?

segmentation fault on mirror exercise .

Re: segmentation fault on mirror exercise .

by Siba Haidar -
Number of replies: 0
Res should be initialised to Null

The base case should not return Null but headRef. (*headRef = Null but not headRef itself)