MY Code here gives wrong answer don't understand the reason
this is because you head is NULL
why??
because you have pass head by reference in print function
as at end of print your head points to NULL
i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course
1 Like
okay okay! I got it thanks