Thursday , February 23 2017
Home / C (page 9)

C

Program for Merge Sort in C

Merge Sort: This is a program for merge sort in c [crayon-58ae09e50841f930470121/] 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

This is the program for First Come First Serve scheduling technique usually implemented in Operating system for scheduling programs [crayon-58ae09e5091a1209128040/]   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

SJF scheduling: c program for sjf in c. [crayon-58ae09e5098af185817877/] 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-58ae09e509cfb993817752/]   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-58ae09e50a12d823126845/]   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-58ae09e50a4c8402031055/]   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-58ae09e50b0ba062150032/] Output

Read More »

C Program for Drawing a Circle using Bresenham Circle Algorithm

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

Read More »