Linked list insertion 2


fix the error

hello @mohitsharmakosi2001
check this->

btw there is github repo given in ur welcome playlist.
it contains some of the course code so u can refer it if needed.

…okk i will prefer ,thanks

what is my mistake in this code , what is the error

so many syntax issues are there.
a) inside node class u have declared as int * , it should be node *

b) similary at one place u are using ------> this long arrow to access the data which is wrong.
we dont have any such long arrow in c++.
only use this to access -> content of pointer.

pls watch video carefully , u are commiting so many basic mistakes

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.