Radix sort - c program, C/C++ Programming

Radix sort - C program:

Write a program in c to define a radix sort.

void main()


 int array[100],n;

 int i;

 void radix(int *,int);

 printf ("How many nos\n");


 for(i= 0;i< n;i++)






 for(i= 0;i< n;i++)

 printf("%d ",array[i]);




void radix(int *array,int n)


int a[2][100],ptr[2];

int i,b=1,j,k;








                                else                               /* bit wise operations*/









Posted Date: 10/19/2012 3:04:50 AM | Location : United States

Related Discussions:- Radix sort - c program, Assignment Help, Ask Question on Radix sort - c program, Get Answer, Expert's Help, Radix sort - c program Discussions

Write discussion on Radix sort - c program
Your posts are moderated
Related Questions
how to compare one file with another file. comparison should be like first line of first file compare every line of second file until it gets a blank line starting from the top and

progarm in c for area under curve   #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps;

write a program that calculates points along a rhodonea curve.... ? int fillArray( double data[ ], int nValues, double min, double max ); o Used to fill in the theta array. Return

Need Cron Job Parsing JSON from API, Inserting in to DB Project Description: The Project is to prepare a Cron Job with an adjustable interval in seconds and milli seconds. Cr

Develop a C++ program that uses a while to determine the gross pay (in Dollars) for each of several employees. The company pays “straight-time” for the first 40 hours worked by eac

color representation 0,1,2,3,4,5,6,7,.......

Unions A union is also like a structure, except that only single variable in the union is stored in the allocated memory at a time. It is a collection of mutually exclusive var

When declaring a variable of data type pointer, use the * in front of the variable name. These variables hold a memory location (like B45CDF), not an actual value like 30 or A: