How codebyadithya/data-structure-lab works
This repository is a coursework collection of standalone C lab programs, not a single application. A user enters data into an individual program, which performs one data-structure or algorithm exercise and prints a result. The programs cover matrix operations, basic array algorithms, record handling, and a menu-driven stack. Each program implements its own input, computation, and output; the README describes the broader learning goals, but does not document shared runtime components or interactions between programs.
Main entry points: 2darray.c Matrix addition · multiplicaton.c Matrix multiplication · transpose.c Matrix transpose · bubblesort.c Bubble sort
Components 9
Matrix operations
- Matrix addition
2darray.c - Matrix multiplication
multiplicaton.c - Matrix transpose
transpose.c
Array algorithms
- Bubble sort
bubblesort.c - Even/odd sums
demo.c
Record exercises
- Student records
student.c - Employee payroll
employee.c
Stack operations
- Stack menu
stack.c
Other components
- User
Connections 16
- User → Matrix addition: enters values
2darray.c - Matrix addition → User: prints sum
2darray.c - User → Matrix multiplication: enters values
multiplicaton.c - Matrix multiplication → User: prints product
multiplicaton.c - User → Matrix transpose: enters values
transpose.c - Matrix transpose → User: prints transpose
transpose.c - User → Bubble sort: enters numbers
bubblesort.c - Bubble sort → User: prints sorted values
bubblesort.c - User → Even/odd sums: enters values
demo.c - Even/odd sums → User: prints sums
demo.c - User → Student records: enters details
student.c - Student records → User: prints student details
student.c - User → Employee payroll: enters details
employee.c - Employee payroll → User: prints pay details
employee.c - User → Stack menu: chooses operations
stack.c - Stack menu → User: prints stack state
stack.c