The document contains code for implementing various sorting algorithms in C including heapsort, quicksort, insertion sort, bubble sort, selection sort, and merge sort. For each algorithm, the code is provided to sort an integer array, take user input for the array elements, run the sorting algorithm, and output the sorted array. Sample outputs are also provided showing the input and sorted output arrays for each algorithm.