4. CSLL DISPLAY
//Display
void display()
{
struct node *p=tail->link;
Do{
Printf(“%d”,p->data);
P=p->link
}
While(p!=tail->link);
}
• Here we are assigning temp pointer which basically points to the new node
created with malloc
Size of memory is
the size of struct
node
Struct node* is a datatype
cast for p variable