Heapsort - Online Code

Description

A program to implement Heap Sort.

Source Code

#include<stdio.h>

void restoreHup(int*,int);
void restoreHdown(int*,int,int);

void main()
{
        int a[20],n,i,j,k;
        printf("
Enter the number of elements to sort : ");
        scanf("
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.