Why are we pointing tail = tail -> next

why are we pointing tail = tail -> next when we are passing the tail pointer as function parameter by reference ?
Because as they are no node then doing this tail will now point to NULL so why we are doing it?

Hey @Sachita3
Can u please share the screenshot
I am not able to access the content right now :slight_smile:

Hey @Sachita3
Do u still have doubt in this ?? :slight_smile:

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.