Facebook
From Zorzin, 9 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 544
  1. while(head->next)
  2. {
  3.         temp=head;
  4.     while(tempp->next->next)
  5.         {
  6.                 temp=temp->next;
  7.         }
  8.     pop=temp->next;
  9.     pop->next=head;
  10.     temp->next=0;
  11. }