
Program of Radix Sort
#include <stdio.h>
#include <conio.h>
void radixsort( int a[], int n )
{
int * p, *r, i, j, k, l, q, x;
r = ( int * ) malloc( n * sizeof( int ) );
p = ( int * ) malloc( n * sizeof( int ) );
for( i = 0; i < 4; i++ )
{
for( j = 0; j < n; j++ )
{
x = a[j];
for( k = 0; k <= i; k++ )
...