Student Information System Project using Linked List and BST in C
Let us create a simple project for Student Information System. It uses a Linked list and Binary Search Tree. // First, a student structure is created with rollno, name ,marks and a pointer next. #include <stdio.h> #include <stdlib.h> #include <string.h> // Let us create Student structure typedef struct Student { int s_rollno; char s_name[50]; float s_marks; struct Student *next; // Self Referential structure } Student; // BST Node structure is created typedef struct BST_Node { Student *student; struct BST_Node *left, *right; } BST_Node; Student *head = NULL; // Linked List head is assigned as NULL BST_Node *root = NULL; // BST root // create function to memory allocation Student* createStudent(int roll, char nam...