Error for question: https://www.geeksforgeeks.org/segregate-even-and-odd-elements-in-a-linked-list/

question:


Solution:

In the function Node*SegregateEvennOdd Getting error. Please check

@rssrivastavarohan
Each pointer node has to have * in declaration
Line274 - Node*es=NULL,*ee=NULL,*os=NULL,*oe=NULL;
Line 314 - Return NULL

Bhaiya ji Logic sahi hai compilation error h puch raha hun . Please :pray: :pray: check

@rssrivastavarohan
I have updated my response to your doubt beforehand
It longer talks about compilation error
Please see again

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.