No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
[CODE]#include<stdio.h> #include<stdio.h> #include<stdlib.h> struct bst { struct bst *left; int info; struct bst *right; }; struct bst root; void create(struct bst*,int); void preorder(struct bst*); void postorder(struct bst*); void del_leaf(); void del_singlechild(): void main() { struct bst *p; int n,c; char ch; root=(struct bst*)malloc(sizeof(struct bst)); printf("\nenter the info:"); scanf("%d",&root->info); root->left=root->right=NULL; do … | |
[CODE]#include<stdio.h> #include<conio.h> #include<stdlib.h> struct clink { int info; struct clink * next; }; struct clink * start; void create(); void display(); void main(); { [SHOWING ERROR IN THIS LINE "Declaration terminated incorrectly"] struct clink *p. *q. char ch; clrscr(); start=(struct clink *) malloc (size of(struct link)); printf("in ent the info;") … |
The End.