Dijkstra's algorithm(Shortest Path) C program Santhosh 03:21 Add Comment Edit #include<stdio.h> #include<string.h> #define INFINITY 999 int DJ(int adj[][100], int src,int dst); char path[100]; int n; main(... Read More
MVT C program Santhosh 04:02 2 Comments Edit #include<stdio.h> #define M 100 void allocate(); void deallocate(); void display(); int tm,os,tavtm,avtm,ch,ps,psa[M],start[M],e... Read More
MFT C program Santhosh 08:22 1 Comment Edit #include<stdio.h> #define M 100 void allocate(); void display(); int ps[30],ch,avtm,os,tm,i,j,k,n,ts,tinf=0,pts[30],inf[30],start... Read More
Indexed File Allocation c program Santhosh 08:55 Add Comment Edit #include<stdio.h> #define TB 100 void allocate(); void deallocate(); void display(); int BFull(); struct Indexed { char n... Read More
Linked File Allocation c program Santhosh 08:54 Add Comment Edit #include<stdio.h> #define TB 100 void allocate(); void deallocate(); void display(); int BFull(); struct Link { char n[30... Read More
Contiguous File Allocation Santhosh 08:53 Add Comment Edit #include<stdio.h> #define TB 100 void allocate(); void deallocate(); void display(); int BFull(); struct Sequence { char ... Read More
OS & CN LAB PROGRAMS Santhosh 06:12 Add Comment Edit 1. BYTESTUFF #include<stdio.h> struct FRAME { char flag; char Data[50]; }F; void send(char[]); void receive(); char e... Read More