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
write a program to find the area under the curve y=f(x) between x=a & x=b

Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

T o k e n :  Tokens  are  small  entities  in  a  program.    Example: identifiers,  keywords,  constants, operators, strings, etc.  These tokens are used almost in same wa

How can I handle a constructor that fails?

What are  Id e n t i f ie rs a n d C o n s t a n ts in C++? Id e n t i f ie r a n d C o n s t a n t : I d e n t i f ie r

What is  T y pe C a s t Op er a t o r :   T h e f l o a t c a n b e c o n v e r t e d t o i n t e g e r v a l u

How can one make it so keys pressed through users are not echoed on the screen? A: It is not a standard C++ feature. C++ doesn't even need your system to have a keyboard or a sc

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b

algorithm to find whether a given number is prime number or not? using pseudo code and flowchart

Define the Increment and Decrement Operators in c language? C offers two special operators -and ++ called decrement and increment operators respectively and these are unary ope