Data Structure Interview Questions – Set 06
Write the C program to insert a node in circular singly list at the beginning. #include #include void beg_insert(int); struct node { int data; struct node *next; }; struct node *head; void main () { int choice,item; do { printf(“nEnter the item which you want to insert?n”); scanf(“%d”,&item); beg_insert(item); printf(“nPress 0 to insert more ?n”); … Read more