Monthly Archive: December 2014

0

C Program to Implement Quick Sort

This is the C Program to sort an array using quicksort,it uses divide and conquer mechanism to sort the array Visualization of the quicksort algorithm. The horizontal lines are pivot values. Class Sorting algorithm...

0

C Program to Implement Floyds Triangle

This is the Implementation of Floyd’s triangle in C,Enter the Number of Lines it will print the Triangle with Number #include main() { int num=1; int i,j,n; printf(“Enter the Number of Rowsn”); scanf(“%d”,&n); for...