Tag: insert

25
Jan

C program for list implementation using array

#include<stdio.h> #include<conio.h> #define MAX 20 //maximum no of elements in the list //user defined datatypes struct…

25
Jan

C program for list implementation using linked list

#include<stdio.h> #include<stlib.h> #include<conio.h> struct node; typedef struct node *ptr; typedef ptr list; typedef ptr position; typedef…

25
Jan

C program for Binary Search Tree

#include<stdio.h> #include<stdlib.h> #include<conio.h> struct searchtree { int element; struct searchtree *left,*right; }*root; typedef struct searchtree *node;…