While loop problem

in the while loop of reverse linked list problem why didn’t we use n->next=c;
after we initialize c->next=p;
i know there is no need of doing this but can you tell me why i am not getting the desired answer after using this initialization

hello @jindaldivish
pls share ur code. using cb ide.

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.