struct list{
int data;
struct list *next;
};
/***** Redefining struct list as node *****/
typedef struct list node;
void init(node *start)
{
printf("\nEnter Data\n");
scanf("%d",&start->data);
start->next=start;
}
No comments:
Post a Comment