Re: segmentation fault on mirror exercise . by Siba Haidar - Tuesday, 23 February 2021, 9:57 PM 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) Permalink Show parent