The first 3 numbers are not getting printed https://ide.codingblocks.com/s/69532.
Whats the issue?
All the numbers are not getting printed
Anikash only first number are not printing because the address of head is at 1 so when u are reversing the first 3 number u r not changing the head that’s why it remain on 1 that why 3 and 2 are not printing
hope this help:)
I can understand your point but how to correct it? if I update the head as
head=P;
then my output isn’t coming
Thank You So much! But can you just explain where was I going wrong earlier?
Thank you. I got it.
Hi Anikash,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.