Why is the segmentation fault


please correct the needed bugs

https://ide.codingblocks.com/s/276176 please look into it.

hello @jindaldivish
a)
image
here in place of oddhead and evenhead it should be oddtail and eventail.

b)
image
u can do this only when oddtail is not null.
so add an if statement to handle it.

i have made the changes but i am still not getting any error https://ide.codingblocks.com/s/276204 can you debug it please

your code is working fine .
pls submit again.

image