My my code is not working properly?

I saved it in IDE


is this code is correct for circular LL ?

hello @amit0001

u need to share its link with me.

pls follow this->
go to this link -> https://ide.codingblocks.com/
paste ur code and
then press ctrl +s and save
a link will be generated in ur search bar, share that link with me

@aman212yadav now?

@aman212yadav https://ide.codingblocks.com/s/435953

CHECK NOW->

still not working the last node is not printing

the code is correct , the issue is with ur printing logic.
use do while loop.

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.