Insertion at end in ll using c


i have tried it in c;
whats wrong in my code?

whats the use of defing structure using typedef keyword in c??


this code works fine i havent updated anything

without using typedef also the code works well

BUt using typedef the code isnt working

i saw the syntax of struct in c
no where is typedef written so probably there is not typedef before struct node{}
in c

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.