What is the problem with the code?

@raj.verma5454
hello Raj,
a)In line no 81 and 85, check whether ur tail is null or not before assigning something to its next.
b) input function will fail to create a linked list if n =0