Even after odd linked list code

code is not working it is showing segmentation fault

hello @shabadsingh i have corrected your logic and reimplemented it because you havenot impemented your logic correctly.
that is the reason why was your code is not running .
i have explained every step in the code .


i hope i have cleared your doubt .
Happy Learning !!

hello @shabadsingh I hope I’ve cleared your doubt. I ask you to please mark this doubt as resolved .
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.
Happy Learning !!

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.