why it is not printing anything??
Singly Circular linked list Insert operation
@sharmakaran1244
You are using the same variable for iterating and comparison - head.
Instead , create a new variable for iterating and keep the head for comparison only. You cannot use it for both or otherwise the condition will never hold true.
Do something like this
node *temp = head;
while(temp->next!=head)
{
temp=temp->next;
}
thanxxxx a lot…Silly mistake
@sharmakaran1244
Kindly mark your doubt as resolved in your doubts section if your issue is resolved.