EVEN AFTER ODD : segmentation fault

Segmentation fault.
Moreover I am not sure if this logic is correct. Please suggest the required changes

you dont need to merge odd and even you can simply print odd and then print even
Corrected Code

But still no test case satisifed

yeah because there was a little error in the print function please check the code provided by me for that.

Yes I did notice that. But ur corrected code as well didn’t satisfy any test case

No sorry it worked now. My bad. Thank you