here is a code about a circularlinklist,which its nodes contain a number between 1 to 2048(first node contains 1 and the lastnode contains 2048) and pointer P that refers to the last node...what does this code do?
while(p->next!=p){
p->next=p->next=->next;
p=p->next;
}
cout<< p->info;