Linked List-K Append

I came through the k%n case in the discussion forum but still my code is giving runtime error.Plzz check!!

hi @prashantverma.vn
u have done a small mistake
u have not done
cin>>n

1 Like

oops…my bad…thanxx:)