Ku 6th Sem Practical Solutions

33
KU 6TH SEM PRACTICAL SOLUTIONS Set -1 1. Write a program for frame sorting technique used in buffers. #include<stdio.h> #include<conio.h> #include<stdlib.h> struct frame { int fslno; char finfo[20]; }; struct frame arr[10]; int n; void sort() { int i,j,ex; struct frame temp; for(i=0;i<n;i++) {

Transcript of Ku 6th Sem Practical Solutions

KU 6TH SEM PRACTICAL SOLUTIONS Set -11. Write a program for frame sorting technique used in buffers.#include#include#includestruct frame{ int fslno; char finfo[20];};struct frame arr[10];int n;void sort(){ int i,j,ex; struct frame temp; for(i=0;i