Sunday , January 22 2017
Home / C (page 9)

C

Program for Merge Sort in C

Merge Sort: This is a program for merge sort in c [crayon-58846885732af149093971/] OUTPUT Tags: merge sort in c, merge sort in c/c++ , program for mergesort, c program for mergesort

Read More »

Program for First Come First Serve (FCFS) scheduling technique

C-program-for-FCFS

This is the program for First Come First Serve scheduling technique usually implemented in Operating system for scheduling programs [crayon-5884688573f4c076294419/]   OUTPUT   Incoming Terms: C program for FCFS, First Come first Serve scheduling Program.

Read More »

Program for Round Robbin (RR) scheduling technique in C

This is a program in C for Round Robbin scheduling technique used for scheduling program in round robbin fashion. void main() { int pe[10],count=0,burst[10],timeQ,i,j,k=1,l,n,wait[10],turn[10]; float avgwait=0,avgturn=0; clrscr(); printf(“Enter total number of process \n”); scanf(“%d”,&n); printf(“Enter time quantum for process”); scanf(“%d”,&timeQ); for(i=0;i

Read More »

Program for Shortest Job First (SJF) scheduling technique

Shortest-Job-First-Search-C-program

SJF scheduling: c program for sjf in c. [crayon-5884688574626744920189/] OUTPUT:     Tags: program for SJF scheduling in c, SJF program in c, program for sjf in c, SJF scheduling in c.  

Read More »

Program for Heap Sort in C

Program for Heapsort in C that includes functions heapify, maxheap and  buildmaxheap. [crayon-5884688574a02099836074/]   OUTPUT Tags: heapsort program in c, program for heapsort in c, heap sort in c.

Read More »

Program for Rotation of Line in C

Program for Rotation of Line in C   [crayon-5884688574ddb274264796/]   OUTPUT  

Read More »

C program for drawing a circle using Midpoint Circle Algorithm

c program for midpoint circle algorithm

Here is given a C program for Midpoint of a Circle using Bresenhams Midpoint circle algorithm. The program is made using C Graphics and the output figure is shown below the code. [crayon-588468857518a622209744/]   Output Tags: Midpoint circle algorithm, c program for Midpoint circle algorithm , graphics program for midpoint circle algorithm

Read More »

C Program for Drawing a Line using Bresenham Line Algorithm

[crayon-5884688575c60846198087/] Output

Read More »

C Program for Drawing a Circle using Bresenham Circle Algorithm

[crayon-588468857602a162454495/] Output: Tags: C program for drawing a circle using Bresenhams circle algorithm, C program for Bresenhams circle algorithm

Read More »