Can you please check my code

hii i have made a code can you please check what the problem is? Moreover i have not still made the delete function in my code on which i am working can you please check till now
.https://ide.codingblocks.com/s/292078

@aryaman.kumar26
please tell the logic that you apply for even-odd problem
i am unable to understand

okay so the logic that i am applying is-> i will traverse to every node and find whether it is odd or even . If found odd i will increment my mid pointer and if found even, i will make a new node and copy the data from mid and then pointing the last element to it and after new node assignment i will delete that mid pointer and again increment it

Hey @aryaman.kumar26
so the logic is a little lengthy to implement
the standard logic for this question is

sharing the code it is well commented it might help u