Even after odd in linked list

https://ide.codingblocks.com/s/326509 its giving wrong output.pls resolve my doubt.