Insertion In Linked List

Please check my code and help me fiind the error:
LINK : https://ide.codingblocks.com/s/297175

@gptradhika1208 check your insert in middle it gives tle. check all the loops you have used inside it

I can’t figure it out. Please help me

Yes,I sorted it out. Thankyou.