© 2014 Firstsoft Technologies (P) Limited. login
Hi 'Guest'
Home SiteMap Contact Us Disclaimer
enggedu
Quick Links
Easy Studies

C Program To Implement Merge Sort:
#include #include void merge_split(int a[],int first,int last); void merge(int a[],int f1,int l1,int f2,int l2); int a[25],b[25]; void main() { int i,n; clrscr(); printf("\n\nMERGE SORT"); printf("\n\n*********"); printf("\n\nEnter the limit : "); scanf("%d",&n); printf("\nEnter the elements\n"); for(i=0;i

SAMPLE INPUT AND OUTPUT:

  Enter the limit : 5
Enter the elements
5
4
3
2
1

Sorted list:
1
2
3
4
5

 
SLogix Student Projects

⇓Student Projects⇓
⇑Student Projects⇑
bottom