#include struct bstnode { int data; struct bstnode*lchild ; struct bstnode*rchild ; }; void insert() { int value; struct bstnode*insert(struct bstnode*p, int value) { if (p == NULL) { struct bstnode*newnode = (struct bstnode*)malloc(sizeof(struct bstnode)); newnode->lchild = NULL; newnode->rchild = NULL; printf("enter the value"); scanf_s("%d", &value); } } } void preorder(struct bstnoce*p) { if (p != NULL) { printf("%d", p->data); preorder( p->lchild); } }