बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

c program to sort array element

c program to sort an array of strings,c program to sort an array of strings in alphabetical order,c program to sort an array in ascending and descending order,c program to sort an array in ascending order using pointers,c program to sort the elements in an array using functions,c program to sort array elements in descending order,c program to sort an array using selection sort,c program to sort an array use quicksort

c program to sort array element

#include"stdio.h"
#include"conio.h"
void main ()
{
int x[10],i,a=0;
clrscr();
for(i=0;i<10 i="" p="">{
scanf("%d",&x[i]);
}
printf("Array elements");
for(i=0;i<10 i="" p="">{
printf("%d\n",x[i]);
}
printf("Array elements in reverse.\n");
for(i=0;i<10 i="" p="">{
while(x[i]>0)
{
a=x[i]%10;
x[i]=x[i]/10;
printf("%d",a);
}
printf("\n");
}
getch();

}


c program to sort an array of strings,c program to sort an array of strings in alphabetical order,c program to sort an array in ascending and descending order,c program to sort an array in ascending order using pointers,c program to sort the elements in an array using functions,c program to sort array elements in descending order,c program to sort an array using selection sort,c program to sort an array use quicksort

C Program example List